Remove nodes from graph not present in second graph networkx

后端 未结 0 649
耶瑟儿~
耶瑟儿~ 2021-02-06 06:31

I\'m working with networkx and I have two graphs; G1 and G2. To use networkx.difference the nodes in the graphs must be the same, so I need to remove the nodes in G1 not present

相关标签:
回答
  • 消灭零回复
提交回复
热议问题