The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Trident listing page.
Open-source core of Trident — a text-based diagramming tool.
This repo contains the parser, serializer, and read-only renderer. No auth, no collaboration, no dependencies.
| File | Purpose |
|---|---|
parser.js | Parses Trident markup text → graphData object |
trident-serializer.js | Serializes graphData → Trident markup text |
renderer-oss.js | Read-only renderer: SVG, PNG, interactive canvas |
spec.md | Full language specification |
example.md | Working diagram examples |
demo.html | Browser demo (open directly, no build step) |
Open demo.html directly in a browser to see it running.
See spec.md for the full grammar and example.md for complete working diagrams.
MIT