Diagrams
Ranger Flow is a React Flow-shaped node graph written in Ranger, drawn through EVG rather than the DOM, and rendered on the GPU. Its first domain is a database ER diagram / UML class editor, because that use exercises field-level ports, edge routing, auto-layout and large graphs at once.
There is no published API yet. There is no gallery/rangerflow/api/
facade. This page names the demos and the source.
RangerFlow core │ ┌─────────────────┼─────────────────┐ │ │ │ ERD editor UML editor flowchart, org, process, mind map │ │ │ └─────────────────┼─────────────────┘ ▼ FlowScene ▼ EVG ┌─────────────┼──────────────┐ WebGL 2 PDF SVG / HTMLRanger Flow is not on the GitHub Pages site yet. Build it locally:
npm run rangerflow:demo:web # build the page, serve it, open a browsernpm run rangerflow:web:serve # the same without opening a browsernpm run rangerflow:web:test # all demos in headless Chromenpm run rangerflow:sdl:run # the same editor in an SDL2 + OpenGL windowThe page is one editor with different graphs. The demo dropdown switches
between them. ?scenario= picks one on load:
| Scenario | What it is |
|---|---|
erd |
A 9-table database schema from fixtures/ecommerce.sql, crow’s foot, field-level ports |
uml |
A UML class diagram — the same compartment node with different words |
force |
React Flow’s force-layout example, live |
flow |
A plain flowchart — the core with no domain on top |
atk |
An ATK chart in ISO 5807 shapes |
org |
An organisation chart |
process |
A swimlane process — drag a lane and its steps come with it |
mindmap |
Branches balanced either side of the root |
radial |
The same graph as a radial tree |
activity |
A UML activity diagram |
Drag to pan, wheel to zoom, two fingers to scroll, pinch to zoom, shift-drag
to box select, drag or click a handle to connect, right-click for a menu.
Delete, Ctrl+Z, f to fit. Download SVG exports the view. Open
.sql reads a schema in the tab. Nothing is uploaded.
Other outputs
Section titled “Other outputs”npm run rangerflow:demo # e-commerce schema → SVG, PDF, HTML, JSONnpm run rangerflow:umlnpm run rangerflow:flowchartnpm run rangerflow:orgnpm run rangerflow:processnpm run rangerflow:forcePDF export is the same EVG PDF path the rest of the gallery uses.
npm run rangerflow:test # model, forces, router, editor, SQL, exportnpm run rangerflow:parity # score against React Flownpm run rangerflow:rivals # JointJS and SyncfusionParity notes live in
gallery/rangerflow/docs/PARITY.md.
Features live in
gallery/rangerflow/docs/FEATURES.md.
Source
Section titled “Source”| Path | Role |
|---|---|
gallery/rangerflow/ |
Core, editors, web host, fixtures |
gallery/rangerflow/README.md |
Runbook and architecture |
A published facade, when it exists, will follow the PowerPoint pattern: a headless scene reader and writer, documented on this site from the comments above the declarations.
Licence: AGPL-3.0-or-later · commit f323fd4 · Ranger language documentation (MIT)