Python 如何使用networkx获取对偶图?
我想要下面平面图g的aPython 如何使用networkx获取对偶图?,python,networkx,graph-theory,Python,Networkx,Graph Theory,我想要下面平面图g的a from networkx.generators.lattice import hexagonal_lattice_graph; g = hexagonal_lattice_graph(2,3); 网络x是否具有返回双图的功能? 我甚至不知道怎样才能得到g的脸
from networkx.generators.lattice import hexagonal_lattice_graph;
g = hexagonal_lattice_graph(2,3);
网络x是否具有返回双图的功能?
我甚至不知道怎样才能得到g的脸