• Stars
    star
    303
  • Rank 137,655 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 13 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A JavaScript GEXF viewer

JavaScript GEXF Viewer for Gephi

Released under MIT License

Known Issues

The issue below is the source of 90% of support emails I receive, please read carefully

Gexf-JS won't work if launched from your local drive (with a file:/// URI scheme) because AJAX is disabled by default on local URIs. This is a known security limitation, part of the Cross-Origin Resource Sharing security model, and there are 2 known workarounds:

  1. Change the security settings of your browser - check https://www.thepolyglotdeveloper.com/2014/08/bypass-cors-errors-testing-apis-locally/ for details.

  2. Use a server (upload it or use a local server). If you have Python on your computer, the simplest is to launch a SimpleHTTPServer with the Command Line:

    $ cd /path/to/gexf-js $ python -m SimpleHTTPServer

Firefox used to support AJAX from local files, but it is now disabled as of version 68 - unless you set security.fileuri.strict_origin_policy to false

Newest features

Hybrid directed/undirected graphs are now supported, and arrows can be shown.

Gexf-JS now speaks 9 languages: Dutch, English, French, Finnish, German, Greek, Italian, Spanish, and Turkish!

Contributors

Raphaël Velt (main developer, French and English versions)

Vicenzo Cosenza (Italian translation)

Eduardo Ramos Ibáñez (Spanish translation)

Jaakko Salonen (Finnish translation and hyperlink replacement)

Zeynep Akata (Turkish translation)

Σωτήρης Φραγκίσκος (Greek translation)

Martin Eckert (German translation)

Tobias Bora (Arrows and hybrid graphs)

Jan de Mooij (Dutch translation and touch-screen compatibility)

Bruna Delzari (Portuguese translation)

Adil Aliyev (Azerbaijani translation)

How to use ?

  1. Export your graph from Gephi as a GEXF file
  2. Put it in the gexf-js directory
  3. Modify config.js to point to your GEXF File and tune the interface.

You can view more Gexf files by pointing your browser to index.html#Filename.gexf

Compatibility

Gexf-JS uses the canvas element, which might cause compatibility issues with older browsers.

It has been tested with the latest Chrome, Firefox and Internet Explorer versions.

It doesn't work with Internet Explorer 8 or older.

Contribute as a translator

Gexf JS Viewer is now available in English, French and Italian

If you want to translate the interface in your language (and share this translation with the community), please translate the following sentences, send them to me and I'll upload them to github.

Strings to translate:

  1. Search nodes
  2. Attributes
  3. Nodes
  4. Inbound Links from
  5. Outbound Links to
  6. Undirected links with
  7. Activate lens mode
  8. Deactivate lens mode
  9. Show edges
  10. Hide edges
  11. Zoom In
  12. Zoom Out
  13. Your browser cannot properly display this page. We recommend you use the latest Firefox or Chrome version