Diagramme

Diagramme als Text schreiben: Mermaid-Code links, das fertige Diagramm rechts.

Du beschreibst ein Diagramm in der Textsprache Mermaid, und die Vorschau daneben zeichnet es kurz nach jeder Eingabe neu. Die Anordnung übernimmt das Werkzeug, du kümmerst dich nur um den Inhalt. Anders als im Werkzeug Flussdiagramm, in dem du Formen von Hand auf eine Fläche ziehst, entsteht hier alles aus Text.

Was es kann

  • Flussdiagramm, Sequenzdiagramm, Klassendiagramm, Zustandsdiagramm, Entity-Relationship, Gantt-Diagramm, Mindmap und Kreisdiagramm, jeweils mit Vorlage und einem Baustein zum Einfügen
  • Code und Vorschau nebeneinander mit verschiebbarer Trennlinie, oder nur Code, oder nur Vorschau
  • Vorschau zoomen, verschieben und an das Fenster anpassen
  • Bei einem Schreibfehler bleibt das letzte gültige Diagramm stehen; die Fehlermeldung nennt die Zeile und führt per Klick dorthin
  • Gemeinsam in Echtzeit am selben Quelltext schreiben, mit den Cursorn der anderen im Editor
  • Export als SVG, als PNG und als .mmd-Quelltext
  • Das Diagramm übernimmt die Farben des App-Designs, hell wie dunkel
  • Läuft im Browser, in der Desktop-App und auf Handy und Tablet, auch ohne Netz; offline geschriebene Änderungen werden später zusammengeführt

Was es noch nicht kann

  • Nur Mermaid: PlantUML und Graphviz (DOT) werden nicht verstanden.
  • Du kannst in der Vorschau nichts anfassen. Wo ein Kasten landet, entscheidet die automatische Anordnung; verschieben lässt er sich nicht.
  • Im dunklen Design passt der Export nicht: Das Diagramm behält die Farben des dunklen Designs, das PNG bekommt aber einen weißen Hintergrund, auf dem die hellen Linien kaum zu sehen sind. Vor dem Export also auf hell umschalten.
  • Kein PDF-Export und keine Wahl von Auflösung oder Hintergrund beim PNG.
  • Eine .mmd-Datei lässt sich nicht öffnen; du fügst den Quelltext über die Zwischenablage ein. Ein Dokument enthält genau ein Diagramm.
  • Keine Vervollständigung beim Tippen, und die Bausteinleiste und die Fehlermeldungen im Editor sind nur auf Englisch.

Gut geeignet für

  • UML-Klassendiagramm oder Sequenzdiagramm für die Softwaretechnik-Übung
  • ER-Modell für die Datenbank-Vorlesung
  • Zeitplan der Abschlussarbeit als Gantt-Diagramm
  • Diagramme, die ihr in der Gruppe wie Code gemeinsam bearbeiten wollt

Diagrams

Write diagrams as text: Mermaid code on the left, the finished diagram on the right.

You describe a diagram in the Mermaid text language, and the preview next to it redraws shortly after every edit. The tool does the layout, you only take care of the content. Unlike the Flowchart tool, where you drag shapes onto a canvas by hand, everything here comes from text.

What it can do

  • Flowchart, sequence diagram, class diagram, state diagram, entity relationship, Gantt chart, mind map and pie chart, each with a template and a starter snippet to insert
  • Code and preview side by side with a draggable divider, or code only, or preview only
  • Zoom and pan the preview, or fit it to the window
  • After a typo the last valid diagram stays on screen; the error message names the line and takes you there with a click
  • Write the same source together in real time, with the others' cursors in the editor
  • Export as SVG, as PNG and as .mmd source
  • The diagram takes its colours from the app theme, light and dark
  • Runs in the browser, in the desktop app and on phone and tablet, also without a connection; changes written offline are merged later

What it cannot do yet

  • Mermaid only: PlantUML and Graphviz (DOT) are not understood.
  • You cannot touch anything in the preview. The automatic layout decides where a box ends up, and you cannot move it.
  • In the dark theme the export does not fit: the diagram keeps the dark theme’s colours, but the PNG gets a white background on which the light lines are hard to see. Switch to light before exporting.
  • No PDF export, and no choice of resolution or background for the PNG.
  • You cannot open a .mmd file; you paste the source from the clipboard. A document holds exactly one diagram.
  • No completion while typing, and the snippet bar and the error messages in the editor are in English only.

Good for

  • A UML class or sequence diagram for a software engineering exercise
  • An ER model for the database lecture
  • The schedule of a thesis as a Gantt chart
  • Diagrams your group wants to edit together like code