Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Expanded Node Shapes in Mermaid Flowcharts (v11.3.0+) #6265

Open
2 tasks done
hrvoj3e opened this issue Jan 29, 2025 · 0 comments
Open
2 tasks done

[Feature] Expanded Node Shapes in Mermaid Flowcharts (v11.3.0+) #6265

hrvoj3e opened this issue Jan 29, 2025 · 0 comments

Comments

@hrvoj3e
Copy link

hrvoj3e commented Jan 29, 2025

  • Searched existing issues to avoid creating duplicates.
  • Searched http://support.typora.io/ since it may be already implemented.

https://mermaid.js.org/syntax/flowchart.html#expanded-node-shapes-in-mermaid-flowcharts-v11-3-0

New Syntax for Shape Definition

Mermaid now supports a general syntax for defining shape types to accommodate the growing number of shapes. This syntax allows you to assign specific shapes to nodes using a clear and flexible format:

A@{ shape: rect }

This syntax creates a node A as a rectangle. It renders in the same way as A["A"], or A.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant