44from enum import Enum
55from typing import Any , Optional , Union
66
7- import enum_tools .documentation
87from pydantic import BaseModel , Field , ValidationError , model_validator
98
109
11- @enum_tools .documentation .document_enum
1210class CaptionAlignment (str , Enum ):
1311 """
1412 The alignment of the caption text for nodes and relationships.
@@ -19,7 +17,6 @@ class CaptionAlignment(str, Enum):
1917 BOTTOM = "bottom"
2018
2119
22- @enum_tools .documentation .document_enum
2320class Layout (str , Enum ):
2421 FORCE_DIRECTED = "forcedirected"
2522 HIERARCHICAL = "hierarchical"
@@ -33,7 +30,6 @@ class Layout(str, Enum):
3330 GRID = "grid"
3431
3532
36- @enum_tools .documentation .document_enum
3733class Direction (str , Enum ):
3834 """
3935 The direction in which the layout should be oriented
@@ -45,7 +41,6 @@ class Direction(str, Enum):
4541 DOWN = "down"
4642
4743
48- @enum_tools .documentation .document_enum
4944class Packing (str , Enum ):
5045 """
5146 The packing method to be used
@@ -96,7 +91,6 @@ def construct_layout_options(layout: Layout, options: dict[str, Any]) -> Optiona
9691 )
9792
9893
99- @enum_tools .documentation .document_enum
10094class Renderer (str , Enum ):
10195 """
10296 The renderer used to render the visualization.
0 commit comments