vikas-vis v1.0.2
vis.js
Install
Install via npm:
$ npm install visInstall via bower:
$ bower install visA timeline can be instantiated as:
var timeline = new vis.Timeline(container, data, options);Where container is an HTML element, data is an Array with data or a DataSet,
and options is an optional object with configuration options for the
component.
Build
To build the library from source, clone the project from github
$ git clone git://github.com/almende/vis.gitThe source code uses the module style of node (require and module.exports) to
organize dependencies. To install all dependencies and build the library,
run npm install in the root of the project.
$ cd vis
$ npm installThen, the project can be build running:
$ npm run buildTo automatically rebuild on changes in the source files, once can use
$ npm run watchThis will both build and minify the library on changes. Minifying is relatively
slow, so when only the non-minified library is needed, one can use the
watch-dev script instead:
$ npm run watch-devNote: This package is a clone from visjs.org