Node¶
-
class
orion_notebook.graph.nodes.node.
Node
(node_type: orion_notebook.graph.nodes.node_type.NodeType, id: Optional[str] = None, data: Optional[orion_notebook.graph.nodes.node_data.NodeData] = None, position: dict = {})¶ Bases:
object
Base class for all types of nodes in the Graph instance. Contains common properties and functions
-
details
: Union[dict, orion_notebook.graph.nodes.node_data.NodeData]¶
Gets the menu options (MenuItems) defined by the user for a Node
- Returns
MenuItem list representing the menu options defined by the user for the node
- Return type
List[MenuItem]
-
get_extra_details
()¶ Sets up the details for the Node (by default the Node data)
Gets the menu options (MenuItems) for a Node
- Returns
MenuItem list representing the menu options for the node
- Return type
List[MenuItem]
-
id
: str¶
-
name
: str¶
-
position
: dict¶
-