JSON-first model
Describe a diagram with typed JSON nodes, edges and a direction instead of a diagram language.
JSONFlow turns typed JSON nodes, edges and a direction into SVG from React. The same model and direction keep a deterministic layout. The core package and the React package are MIT licensed.
{
"direction": "LR",
"nodes": ["api", "queue", "db"]
}Describe a diagram with typed JSON nodes, edges and a direction instead of a diagram language.
Render SVG from the React package.
Keep layout deterministic for top-bottom, left-right, right-left and bottom-top.
Use the built-in light and dark themes, or supply a custom theme.
Try a document in the live playground.
Use the core package and the React package under the MIT license.
Nodes, edges and direction are typed JSON. There is no diagram language to parse, and the document can live with the rest of the application data.
Direction is top-bottom, left-right, right-left or bottom-top. For a given model and direction, the layout is deterministic.
The React package draws SVG. Light, dark and custom themes are included. The playground is the place to try a document before embedding it. Both packages are MIT licensed.
No. The model is JSON: nodes, edges and a direction.
Not for the same model and the same direction. Layout is deterministic for top-bottom, left-right, right-left and bottom-top.
The core package and the React package are MIT licensed. The public price is zero.
Open the live playground on this site, or render the SVG with the React package. Light, dark and custom themes are part of the project.