Skip to content
forked from mdaines/viz-js

Graphviz for the web (Viz.js on a diet)

License

Notifications You must be signed in to change notification settings

rapidlua/viz.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Viz.js on a diet

Viz.js fork. Only ships dot layout engine and supports JSON output format. Compiled to WebAssembly for WebWorker environment. Omitting support for other environments and not including filesystem emulation makes the generated JavaScript glue ridiculously thin.

API-wize, it is incompatible with vanilla viz.js. Usage:

require('graphviz.js').render('digraph{a->b}', function(error, resultString) {
  ...
});

Building

Running make will produce graphviz.js and graphviz.wasm. You have to ship both. Please install Emscripten SDK first.

Improvements to vanilla Vis.jz

No longer necessary to recreate a renderer instance after a failed call. And there's no such thing as a renderer instance anymore.

About

Graphviz for the web (Viz.js on a diet)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 40.3%
  • Makefile 32.3%
  • C 27.4%