Edge Class

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

Initialize Edge.

Inheritance
builtins.object
Edge

Constructor

Edge(source_port, dest_port)

Parameters

source_port
OutputPort
Required

The source port for the edge.

dest_port
InputPort
Required

The destination port for the edge.

source_port
OutputPort
Required

The source port for the edge.

dest_port
InputPort
Required

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