AiLounge Tools

Mermaid Diagram Studio

Flowcharts, sequence diagrams, class diagrams and Gantt charts: local parsing, strict security filtering, and exportable SVG / PNG plans.Processed locally (works offline)

Sequence diagram

Parse sequenceDiagram participant / actor declarations, message arrows, notes and loop/alt blocks into participant lanes and message structures.

Run in browser

Inputs and parameters

Real example

sequenceDiagram
  participant U as Browser
  participant W as Render worker
  participant E as Export plan
  U->>W: Submit source & abort signal
  W-->>U: Return SVG plus line / column
  U->>E: Export SVG / PNG locally
  Note over U,E: No external rendering service
→ sequence: 3 participants / 3 messages / 1 note; CJK aliases, & and / are escaped correctly; SVG contains participant, lifeline and message groups.

Limits and failure handling

Real Mermaid sequence auto-layout is not implemented; activate/rect/critical are recorded as blocks only. Message text is always escaped as text, never parsed as HTML.

FAQ

What happens if I omit the colon?

MISSING_MESSAGE_TEXT is returned at the end of that line and the input is preserved.

Does a Note execute HTML?

No. Note text is XML-escaped into <text> and never inserted as DOM.