duality#
“ Creates a dual graph of a planar diagram
Functions
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. |