我正在尝试将顶点聚类图作为来自 python-igraph 的 gexf 文件编写。知道怎么做吗?我知道我可以写其他格式 [ http://www.cs.rhul.ac.uk/home/tamas/development/igraph/tutorial/tutorial.html#igraph-and-the-outside-world] ,但我希望它是 gexf。有一个 pygexf 包,但还没有很好地记录
请您参考如下方法:
似乎 python-igraph 不支持读取 gexf 文件。这是 Graph.Read() 的文档 Graph.Read()
但是您可以使用gephi等其他工具将gexf文件转换为igraph支持的其他格式,例如gml文件。
