# mdaines/viz-js

Graphviz in your browser

Repository: https://github.com/mdaines/viz-js
Canonical: https://ross.abutalabs.com/products/viz-js
Homepage: https://viz-js.com/
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, graphviz, emscripten, dot
Last push: 2026-08-11T13:19:33+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 96, longevity 100
- inputs: {"age_days": 5122, "days_push": 22, "days_rel": 28, "gap_med": 21, "n_releases_24m": 22}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4343, forks 365 (observed 2026-08-28T04:08:46.137550+00:00)

## What it is
Viz.js is a WebAssembly build of Graphviz with a JavaScript wrapper, allowing DOT graph descriptions to be rendered as SVG in the browser or Node.js. It also includes CodeMirror language support for the DOT language.

## Use cases
- render graphviz dot diagrams in the browser
- convert dot notation to svg
- display dependency graphs on a webpage
- render flowcharts from dot source in javascript
- visualize network graphs client-side without a server
- syntax highlighting for graphviz dot in code editor

## When to choose
- you need to render Graphviz graphs entirely client-side in a web app
- you want to avoid server-side Graphviz installation
- you need SVG output from DOT source in JavaScript

## When to avoid
- you need extremely large or performance-critical graph rendering
- you need interactive graph editing rather than static rendering
- you are not working in a JavaScript/WASM-capable environment

## Facets
- artifact type: library
- maturity: active
- function: graphics, data-visualization, wasm, parser
- domain: web-development, frontend, data-visualization, developer-tools
- platform: browser, wasm
- tags: graphviz, dot-language, svg-rendering, emscripten, graph-diagrams, nodejs, javascript

## Member repositories
- mdaines/viz-js (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:46.137550+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:21:36.022989+00:00, confidence not recorded.
  - readme: https://github.com/mdaines/viz-js (fetched 2026-08-28T04:08:46.137550+00:00, sha fe5308acc933)
  - homepage: https://viz-js.com/ (fetched 2026-08-29T09:10:30.878603+00:00, sha c55e5161cc84)
- Data as of 2026-08-30T08:39:29.467469+00:00.
