ForceDiagram.dual_edge

ForceDiagram.dual_edge(edge)

Find the cooresponding edge in the diagram’s dual.

Parameters:
edgetuple of int

The edge identifier.

Returns:
tuple (int, int) or None

The identifier of the dual edge if it exists.