Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best/more standard graph representation file format? (GraphSON, Gexf, GraphML? )

What's the standard graph representation file format or otherwise the most used one? I would say one of these three:

  • GraphSON
  • GEXF
  • GraphML

but it would be great if anyone could point out the advantages/weaknesses from each of them.

like image 821
ppareja Avatar asked Jul 09 '15 14:07

ppareja


2 Answers

The answer ultimately lies with the size of your problem and what your are trying to achieve.

For example, none of those formats can handle billions of vertices whereas some dedicated large-scale graph analytics frameworks such as Spark or GraphLab-Create can.

GraphML and GEXF are roughly equivalent, both XML based. GraphML is standard and supported in a lot of graph librairies such as NetworkX, igraph, Boost Graph Library, Graph-tool, JGraphT, Gephi. GraphSon is not popular.

To draw your GraphML or GEXF graphs, you can use Gephi or Tulip (GEXF only).

like image 71
Kirell Avatar answered Jan 02 '23 05:01

Kirell


I think JGF is a good candidate here too.

I evaluated a lot for a recent project and this came out on top. Specifically, I liked:

  • Trivial to parse and generate
  • Able to include arbitrary extra data for any node, edge, or graph.
  • Well specified, and can be parsed by more than one existing project.

http://jsongraphformat.info/

https://github.com/jsongraph/json-graph-specification

like image 20
bjtucker Avatar answered Jan 02 '23 05:01

bjtucker