Skip to content

JavaScript based graph visualization library with emphasis on customization and modularity.

License

Notifications You must be signed in to change notification settings

weblyzard/graphyte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d17c3bb · Mar 21, 2019

History

24 Commits
Mar 17, 2017
Mar 17, 2017
Mar 19, 2019
Mar 17, 2017
Mar 17, 2017
Mar 19, 2019
Mar 17, 2017
Nov 12, 2015
Mar 17, 2017
Jul 4, 2016
Feb 22, 2016
Mar 17, 2017
Mar 17, 2017

Repository files navigation

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