Edge

class Edge

Proxy to an edge in the graph.

Provides access to the edge attributes and components.

%3
Members defined in Edge (8 members)

elaboration

R

Node that elaborates this edge if any.

element

R

Source SysML element that this edge was created from.

id

R

Typed edge ID for this edge.

label

R

Label parts for this edge.

__str__

sources

Source nodes. Binary edges have exactly one source.

style

Structural style of this edge.

targets

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.

Used in