所以我在docs上看到他们使用Graphviz,但没有使用任何文件……我有一个想要渲染的4mil+ .dot (70mb) graph file。如何通过holoviz和NetworkX打开和渲染GraphViz点文件?
##Update: Tested @GijsWobben示例:在偶数small 6kb file上显示为空

对于小文件,应该会有类似的东西:

发布于 2020-12-18 17:32:59
这样如何:
import hvplot.networkx as hvnx
import networkx as nx
import holoviews as hv
# Read the file
G = nx.drawing.nx_agraph.read_dot("./figure.dot")
# Rest of the tutorial...
spring = hvnx.draw(G, with_labels=True)
# Show the plot
springhttps://stackoverflow.com/questions/65214199
复制相似问题