GraphVisualizationInput
models.GraphVisualizationInput()Model for the input of graph visualization tools.
This model defines the parameters for creating a graph visualization.
Attributes
| Name | Type | Description |
|---|---|---|
| root_entity_type | str | Type of the root entity to visualize |
| root_entity_id | int | ID of the root entity |
| layout | Optional[GraphLayout] | Optional layout parameters |
| include_properties | bool | Whether to include detailed properties in the visualization |
| max_nodes | Optional[int] | Maximum number of nodes to include (for performance) |
Methods
| Name | Description |
|---|---|
| model_validate | Custom validation that can handle string input representing a dict. |
model_validate
models.GraphVisualizationInput.model_validate(obj, *args, **kwargs)Custom validation that can handle string input representing a dict.