RULE: Wrap labels in double quotes if they contain spaces, special characters, or punctuation.
Must quote: Spaces, special chars ($%&), punctuation (:,;), operators (()[]) Optional: Simple alphanumeric (Login, Process, Node1)
| ["Text"] | Rectangle | | ("Text") | Rounded | | {"Text"} | Diamond (decision) | | [("Text")] | Cylinder (database) | | (("Text")) | Circle |
Expert guidance for creating syntactically correct Mermaid diagrams. Use when creating flowcharts, sequence diagrams, class diagrams, state diagrams, Gantt charts, ER diagrams, or data lineage visualizations. Source: majesticlabs-dev/majestic-marketplace.