PlaneGraph#

class discopy.drawing.drawing.PlaneGraph(graph, positions)[source]#

Bases: NamedTuple

A plane graph is a graph with a mapping from nodes to points.

Parameters:
  • graph (DiGraph) –

  • positions (dict[Node, Point]) –

graph: DiGraph#

Alias for field number 0

positions: dict[Node, Point]#

Alias for field number 1