NodeLayout typedef

NodeLayout = Map<Node, Vector2>

A description of the layout of a graph.

Maps from each Node in the graph to the Vector2 position of this node. Typically, this Vector2 should lie in the unit square, so both Vector2.x and Vector2.y will be between 0 and 1.

Implementation

typedef NodeLayout = Map<Node, Vector2>;