[英]How to visualize large graph?
I am trying to create a graph where number of nodes is more than 400 which is not visualizing in a proper way. 我正在尝试创建一个节点数量超过400的图形,而这种图形无法以正确的方式可视化。
import networkx as nx
G=nx.MultiGraph()
G.add_nodes_from(freqItemSet)
G.add_edges_from([edge])
plt.figure(figsize=(10000,10000))
nx.draw(G)
I was using the above code. 我正在使用上面的代码。 Is there any other way to visualize in a proper way.
还有其他方法可以以适当的方式可视化。
Thank you 谢谢
You can use a tool called "Gephi" which is free and has good UI. 您可以使用名为“ Gephi”的工具,该工具是免费的并且具有良好的UI。 You can export the file from networkx as "*.gexf" format
您可以将文件从networkx导出为“ * .gexf”格式
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.