Edge class

Definition

Instance of an edge between two node ports in the graph.

Edge(source_port, dest_port)
Inheritance
builtins.object
Edge

Parameters

source_port
OutputPort

The source port for the edge.

dest_port
InputPort

The destination port for the edge.

Attributes

dest_port

Destination port of the Edge.

Returns

The destination port.

Return type

source_port

Source port of the Edge.

Returns

The source port.

Return type