Skip to content

welhefna/gephi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Support Graph Formats

This Python Impelemtation of Supported graph formats by Gephi <https://gephi.org/> and `networkX <https://networkx.github.io/> _. what are supported data files and the general structure to follow:

  • GEXF
  • GDF
  • GML
  • GraphML
  • Pajek NET
  • GraphViz DOT
  • CSV
  • UCINET DL
  • Tulip TPL
  • Netdraw VNA
  • Spreadsheet

The following table help to choose which format you want to encode your graph _.

..image:: https://gephi.org/images/graph-format-table-comparison.png

Usage

>>> import gephi
>>> data = {'a' : (['a','b','c'],[12,11,10]) , 'b' : (['a','c','d'],[14,1,20]) , 'c' : (['a','d'],[.5,12]) , 'd' : (['b','c'],[3,4]) }
>>> G = gephi.Gephi(data , graph_type = 'direct')
>>> print G.CVS('edge-list')
a;a
a;b
a;c
c;a
c;d
b;a
b;c
b;d
d;b
d;c

✨🍰✨

About

Gephi and networkX graph formats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published