graph-app-vis

0.0.3 • Public • Published

React graph vis

A React component to display beautiful network graphs using vis.js

Show, don't tell: Demo

Make sure to visit visjs.org for more info.

Rendered graphs are scrollable, zoomable, retina ready, dynamic, and switch layout on double click.

A graph rendered by vis js

Due to the imperative nature of vis.js, updating graph properties causes complete redraw of graph and completely porting it to React is a big project itself!

This component takes three vis.js configuration objects as properties:

  • graph: contains two arrays { edges, nodes }
  • options: normal vis.js options as described here
  • events: an object that has event name as keys and their callback as values

Package Sidebar

Install

npm i graph-app-vis

Weekly Downloads

3

Version

0.0.3

License

MIT

Unpacked Size

792 kB

Total Files

8

Last publish

Collaborators

  • aceki