Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/329.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 如何使用networkx获取对偶图?_Python_Networkx_Graph Theory - Fatal编程技术网

Python 如何使用networkx获取对偶图?

Python 如何使用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的脸

我想要下面平面图g的a

from networkx.generators.lattice import hexagonal_lattice_graph;
g = hexagonal_lattice_graph(2,3);
网络x是否具有返回双图的功能? 我甚至不知道怎样才能得到g的脸