data.Edge

data.Edge(self, start, end)

An Edge object represents an edge, or a link, of a Graph object.

Attributes

Name Type Description
start psiclone.graph.Node Nodes connected by the edge.
end psiclone.graph.Node Nodes connected by the edge.

Parameters

Name Type Description Default
start psiclone.graph.Node Nodes connected by the edge. required
end psiclone.graph.Node Nodes connected by the edge. required

Methods

Name Description
other_node Returns the other node linked by the edge than given node.

other_node

data.Edge.other_node(node)

Returns the other node linked by the edge than given node.