Edge

class orion_notebook.graph.edges.edge.Edge(source: str, target: str, id: Optional[str] = None, data: Optional[orion_notebook.graph.edges.edge_data.EdgeData] = None, edge_type: str = '')

Bases: object

Base class that represents the edge that connects two nodes in a Graph instance

data: orion_notebook.graph.edges.edge_data.EdgeData
details: Union[dict, orion_notebook.graph.edges.edge_data.EdgeData]
edge_type: str
get_extra_details()

Retrieves and sets the details for the edge (by default the details will be the data of the edge)

id: str
source: str
target: str