Edge
- class Edge
Proxy to an edge in the graph.
Provides access to the edge attributes and components.
Members defined in
Edge(8 members)
RNode that elaborates this edge if any.
RSource SysML element that this edge was created from.
RTyped edge ID for this edge.
RLabel parts for this edge.
Source nodes. Binary edges have exactly one source.
Structural style of this edge.
Target nodes. Binary edges have exactly one target.
Attributes
- property elaboration: syside.experimental.viz.Node | None
Node that elaborates this edge if any.
Additional optional link to an elaboration node, i.e. the node that created this edge. This will typically be rendered as a dotted edge connecting the nary edge dot and the elaboration node. In this case, no labels are required for the dot as they will be contained in the elaboration node.
- property element: syside.Element | None
Source SysML element that this edge was created from.
This is only provided for convenience as the graph contains all the data needed for visualization.
- property id: syside.experimental.viz.EdgeID
Typed edge ID for this edge.
- property label: syside.experimental.viz.Label
Label parts for this edge.
Methods
- __str__() str
- sources() list[syside.experimental.viz.Node]
Source nodes. Binary edges have exactly one source.
- style() syside.experimental.viz.EdgeStyle
Structural style of this edge.
- targets() list[syside.experimental.viz.Node]
Target nodes. Binary edges have exactly one target.