JavaScript based graph visualization library with emphasis on customization and modularity.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
js
layouts
less
scripts
test
.eslintrc.json
.gitignore
LICENSE.md
README.md
bower.json
index.js
package.json

README.md

Graphyte

Graphyte is a JavaScript based graph visualization library built with emphasis on customization and modularity. These design decisions led to a core framework responsible for interconnecting pluggable modules. Following that spirit, Graphyte doesn’t offer ready-made visualizations like e.g. HighCharts or NVD3 which offer out-of-the-box solutions for standard charts. Instead, the intended audience of Graphyte are developers who are looking for a solid library to create heavily customized graph visualizations.

npm npm npm

Installation

npm install graphyte

General Usage

Graphyte is following the AMD module pattern using RequireJS:

require.config({
  baseUrl: 'node_modules/graphyte',
  paths: {
    'd3': 'node_modules/d3/d3'
  }
});

require(['d3', 'js/core'], function(d3, graphyte) {
  var graph = graphyte()
    .width(800)
    .height(600)
    .debug(true);
});

Examples

To run the examples in your browser:

cd node_modules/graphyte
npm install
npm start

Testing

Graphyte is using QUnit for testing its basic functionality:

cde node_modules/graphyte
npm install
npm test

Documentation

See Wiki: https://github.com/weblyzard/graphyte/wiki