Skip to content

Commit 4e63e9d

Browse files
committed
chore: add changeset and use MERMAID_RELEASE_VERSION placeholder
1 parent cdb6910 commit 4e63e9d

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'mermaid': minor
3+
---
4+
5+
feat: add `align row|column {ids…}` directive to architecture-beta diagrams so authors can declare horizontal or vertical alignment of services explicitly, fixing same-port sibling overlap (e.g. three databases all connecting to one node) and enabling clean grid layouts when paired with column directives

‎packages/mermaid/src/docs/syntax/architecture.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ creates an edge going out of `groupOne`, adjacent to `server`, and into `groupTw
125125

126126
It's important to note that `groupId`s cannot be used for specifying edges and the `{group}` modifier can only be used for services within a group.
127127

128-
### Aligning siblings (v11.15.0+)
128+
### Aligning siblings (v<MERMAID_RELEASE_VERSION>+)
129129

130130
When several services share similar edge topology (for example, three databases all connecting `R --> L:mcp`), the layout heuristic may collapse them onto the same coordinate so that two render on top of each other. The `align` directive declares that a set of services share a row (same y) or a column (same x), and forces them to spread along that axis.
131131

0 commit comments

Comments
 (0)