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

Name Description
source_port
Required

The source port for the edge.

dest_port
Required

The destination port for the edge.

source_port
Required

The source port for the edge.

dest_port
Required

The destination port for the edge.

Attributes

dest_port

Destination port of the Edge.

Returns

Type Description

The destination port.

source_port

Source port of the Edge.

Returns

Type Description

The source port.