Type a diagram as plain text and Elk draws it as SVG. It reads Mermaid syntax, so most things written for Mermaid should work here too, but there's no Mermaid underneath - each type of diagram has its own parser and its own drawing code.
The layout comes from ELK, the Eclipse Layout Kernel. It works out where the boxes go and how the lines route round them, which is the hard part of any diagram.
There are 26 types of diagram, in three groups:
- Laid out by ELK - flowcharts, sequence, class, state, entity-relationship, C4, mindmaps, requirement, block and architecture diagrams.
- ELK with some help first - user journeys, git graphs, fishbone, Sankey, ZenUML and tree views.
- Drawn without a layout engine - pie, quadrant, Gantt, timeline, Kanban, Venn, radar, treemap, packet and XY charts.
The editor redraws as you type and tells you which type it thinks you've written. You can drop a .txt or .md file anywhere on the page, pan and zoom, and switch to dark mode. A finished diagram exports as PNG, SVG or its Markdown source, or as a link to send to someone else.
To start, open the menu under the diagram's name, top left, and pick one of the examples.
A Tolli lab piece.