Awesome 社區模塊

Viz.js

Build Status

This project builds

For more information,

Getting Viz.js

  • Install theviz.js
  • Download from the

Building From Source

To build from source, first

Install the development dependencies using Yarn:

1
yarn install

The build process for Viz.js is split into two parts: building the Graphviz and Expat dependencies, and building the rendering script files and API.

1 2
make deps make all

Running Browser Tests

The browser tests can be run locally using Selenium WebDriver.

First, serve the project directory at

1
python -m SimpleHTTPServer

Then, run tests using test-browser/runner.js. For example, to runtest-browser/full.html

1
node test-browser/runner --file full.html --browser chrome