Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write gexf graph from python igraph?

Tags:

python

igraph

I'm trying to write a vertex clustered graph as a gexf file from python-igraph. Any idea how to do it? I'm aware that I can write other formats [http://www.cs.rhul.ac.uk/home/tamas/development/igraph/tutorial/tutorial.html#igraph-and-the-outside-world] , but I'd like it to be gexf. There is a pygexf package but not documented well yet

like image 733
ramgo Avatar asked Jan 31 '26 17:01

ramgo


1 Answers

It seems python-igraph doesn't support to read a gexf file. Here is the document of Graph.Read() Graph.Read()

But you can transform gexf file to other format which are supported in igraph, such as gml file, with other tools like gephi.

like image 146
DylanSu Avatar answered Feb 03 '26 06:02

DylanSu