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-04-30 16:36:30
最后一次提交
發布數55
最新版本名稱release-viz-3.12.0 (發布於 )
第一版名稱v0.0.1 (發布於 )
用户参与
星數4.2k
關注者數115
派生數355
提交數542
已啟用問題?
問題數166
打開的問題數7
拉請求數106
打開的拉請求數2
關閉的拉請求數17
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?