ForceDiagram.dual_edge

ForceDiagram.dual_edge(edge)[source]

Find the cooresponding edge in the diagram’s dual.

Parameters

edge (tuple of int) – The edge identifier.

Returns

tuple (int, int) or None – The identifier of the dual edge if it exists.