viz.js

A hack to put Graphviz on the web.

Github星跟踪图

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

主要指标

概览
名称与所有者mdaines/viz-js
主编程语言JavaScript
编程语言JavaScript (语言数: 7)
平台
许可证MIT License
所有者活动
创建于2012-08-24 15:19:20
推送于2025-10-21 17:19:13
最后一次提交
发布数64
最新版本名称release-viz-3.20.0 (发布于 )
第一版名称v0.0.1 (发布于 )
用户参与
星数4.2k
关注者数112
派生数363
提交数601
已启用问题?
问题数172
打开的问题数6
拉请求数144
打开的拉请求数0
关闭的拉请求数23
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?