duality#
“ Creates a dual graph of a planar diagram
Functions
Generate an arc-face graph for a given planar diagram. |
|
Generates the dual of a given planar diagram by transforming its structure such that nodes of the dual correspond to faces in the original diagram, and edges represent adjacency relationships between those faces. |