Skip to content

Latest commit

 

History

687 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Viz.js

This is a collection of packages for working with Graphviz in JavaScript.

To render a graph as an SVG string:

import { dot2svg } from "@viz-js/dot2svg";

const svg = await dot2svg("digraph { a -> b }");

Packages:

  • viz — WebAssembly build of Graphviz and JavaScript wrapper.
  • dot2svg — Simplified interface for the viz package.
  • lang-dot — CodeMirror language support for the Graphviz DOT language.

Install

API

API Reference

About

Graphviz in your browser

Topics

Resources

Stars

4.3k stars

Watchers

106 watching

Forks

Releases

Packages

Contributors

Languages