如何可视化大图? [英] How to visualize large graph?

查看:73
本文介绍了如何可视化大图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个节点数超过 400 的图表,该图表未以适当的方式进行可视化.

I am trying to create a graph where number of nodes is more than 400 which is not visualizing in a proper way.

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.

谢谢

推荐答案

您可以使用名为Gephi"的免费工具,并且具有良好的 UI.您可以将 networkx 中的文件导出为*.gexf"格式

You can use a tool called "Gephi" which is free and has good UI. You can export the file from networkx as "*.gexf" format

这篇关于如何可视化大图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆