Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emeeks/gexfd3
A small library for rendering parsed GEXF graphs in D3.js
https://github.com/emeeks/gexfd3
Last synced: 30 days ago
JSON representation
A small library for rendering parsed GEXF graphs in D3.js
- Host: GitHub
- URL: https://github.com/emeeks/gexfd3
- Owner: emeeks
- Created: 2014-03-04T22:15:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-05T01:13:24.000Z (over 10 years ago)
- Last Synced: 2024-08-02T14:09:52.087Z (3 months ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 22
- Watchers: 6
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
gexfd3 .1
======A small library for rendering parsed GEXF graphs in D3.js
Requires https://github.com/Yomguithereal/gexf-parser & https://github.com/mbostock/d3/
Load a GEXF using gexf-parser and send the results to gexfd3.graph()
Roughly follows the patterns of D3 layouts, creates a gexfD3.nodes() and gexfD3.links() that work in a force layout and have .x and .y coordinates as well as viz settings from the GEXF and GEXF attributes in a properties array.
Simple example:
http://bl.ocks.org/emeeks/9357371Complicated example:
http://bl.ocks.org/emeeks/9357131