viz.js

A hack to put Graphviz on the web.

viz.js downloads viz.js version viz.js license

viz.js类似的npm包:

npm下载趋势

3 年
🌟 在 viz.js 的 README.md 中显示实时使用量图表,只需复制下面的代码。
## Usage Trend
[![Usage Trend of viz.js](https://npm-compare.com/img/npm-trend/THREE_YEARS/viz.js.png)](https://npm-compare.com/viz.js#timeRange=THREE_YEARS)

Cumulative GitHub Star Trend

🌟 在 viz.js 的 README.md 中显示 GitHub stars 趋势图表,只需复制下面的代码。
## GitHub Stars Trend
[![GitHub Stars Trend of viz.js](https://npm-compare.com/img/github-trend/viz.js.png)](https://npm-compare.com/viz.js)

统计详情

npm包名称
下载量
Stars
大小
Issues
发布时间
License
viz.js04,327-87 年前MIT

viz.js的README

Viz.js

Build Status

This project builds Graphviz with Emscripten and provides a simple wrapper for using it in the browser.

For more information, see the wiki.

See Also

Have a look at Dagre, which is not a hack.

Getting Viz.js

Building From Source

To build from source, first install the Emscripten SDK. You'll also need Node.js and Yarn.

Install the development dependencies using Yarn:

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.

make deps
make all

Running Browser Tests

The browser tests can be run locally using Selenium WebDriver.

First, serve the project directory at http://localhost:8000.

python -m SimpleHTTPServer

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

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