1.1.0 • Published 7 years ago

gview v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

gview

Fork from: egraph

NPM version NPM downloads

Install

$ npm install gview

Usage

Example

import GView from 'gview';

const data = {
  vertices: [{
    id: 1,
    name: 'node-1'
  }, {
    id: 2,
    name: 'node-2'
  }],
  edges: [{
    from: 1,
    to: 2
  }]
};

const viewer = new GView('root', data, {
  width: 800,
  height: 400,
  hited: function(list) {
    console.log(list);
  }
});

image

Develop

npm i dool -g

# Dev
$ dool server

# Build
$ dool build

Report a issue

License

Gview is available under the terms of the MIT License.

1.1.0

7 years ago

1.0.0

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago