Quickstart
Two walkthroughs from an empty directory to a railroad diagram rendered in the browser. Both use @choo-choo/vanilla plus Vite as a zero-config dev server.
Prerequisites
- Node.js ≥ 20.
pnpm(≥ 10).npmandyarnwork too — swap the commands accordingly.
First Steps
- Hello world: Build a minimal diagram by hand.
- Grammar example: Parse an EBNF source and render a rule from it.