# bramp/js-sequence-diagrams

Draws simple SVG sequence diagrams from textual representation of the diagram

Repository: https://github.com/bramp/js-sequence-diagrams
Canonical: https://ross.abutalabs.com/products/js-sequence-diagrams
Homepage: https://bramp.github.io/js-sequence-diagrams/
Language: JavaScript
License: BSD-2-Clause
License Family: permissive
Topics: sequence-diagram, svg, javascript
Last push: 2022-09-21T12:42:11+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5037, "days_push": 1442, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7833, forks 1072 (observed 2026-08-28T04:10:05.814815+00:00)

## What it is
A JavaScript library that parses simple text descriptions of UML sequence diagrams and renders them as SVG in the browser. It uses Jison for parsing and Snap.svg for drawing, with simple and hand-drawn themes.

## Use cases
- render sequence diagrams from text in a web page
- generate UML sequence diagrams from plain text
- embed ASCII-style sequence diagrams in documentation
- draw SVG diagrams from a simple DSL
- add sequence diagram support to a markdown editor

## When to choose
- you need lightweight, client-side sequence diagram rendering as SVG
- you want a simple text syntax inspired by websequencediagrams.com
- you are embedding diagrams in browser-based docs or wikis

## When to avoid
- you need actively maintained software with modern tooling (npm/ESM)
- you need other UML diagram types beyond sequence diagrams
- you need server-side or headless rendering

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, data-visualization, graphics
- domain: web-development, frontend, developer-tools, documentation
- platform: browser
- tags: sequence-diagram, svg, uml, text-to-diagram, jison, snap-svg, nodejs

## Member repositories
- bramp/js-sequence-diagrams (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:05.814815+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-29T17:33:58.875690+00:00, confidence not recorded.
  - readme: https://github.com/bramp/js-sequence-diagrams (fetched 2026-08-28T04:10:05.814815+00:00, sha a014920ec82d)
  - homepage: https://bramp.github.io/js-sequence-diagrams/ (fetched 2026-08-29T08:30:49.431714+00:00, sha 27bab0305256)
- Data as of 2026-08-30T08:39:29.467469+00:00.
