花了很多时间在SNA和igraph包中用于分析的格式格式化网络 . 这些和Rgraphviz所需的数据类型之间是否存在桥梁?通过这个,我的意思是,保留:源到目的地,标签,边缘权重,其他属性,如颜色等 .
是的,非常容易,而且显然在the igraph documentation:
write.graph(mygraph, file="filename", format="dot")
1 回答
是的,非常容易,而且显然在the igraph documentation: