Is there any smart way to import gephi graphs (*.gexf) into mathematica ? I mean other than converting to *.gml.
-
$\begingroup$ All supported graph formats are listed in the documentation. $\endgroup$– SzabolcsMar 18, 2015 at 3:26
-
$\begingroup$ Out of all complex graph formats, Mathematica supports GML the best. I recommend simply converting to GML. $\endgroup$– SzabolcsMay 19, 2017 at 18:16
1 Answer
No. Not Natively.
gephiexports = {"CSV", "GDF", "GEXF", "GraphML", "Pajek", "XLS","PDF", "SVG"};
Intersection[gephiexports, $ExportFormats]
(* {"CSV", "GraphML", "Pajek","PDF", "SVG", "XLS"} *)
GEXF is an XML based format so you may be able to crib a parser in Mathematica if you really want to.
Update Gephi's website is somewhat contradictory on which is the best format other than GEXF. On the one hand it says GraphML is the next best, on the other it says XLS has the most features. Source here. Given that both these are supported by Mathematica then it appears that apart from Gephi dynamics most things are supported.