Skip to content

Commit 5ab5a28

Browse files
committed
docs: improve nested namespace changeset
As the nested namespace PR might change rendering behaviour for existing class diagrams that use dots in their namespaces, I've updated the changeset to explain how you can disable this feature by using `class.hierarchicalNamespaces`.
1 parent 504b2eb commit 5ab5a28

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎.changeset/feat-nested-namespaces.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,11 @@
33
---
44

55
feat(class): add nested namespace support for class diagrams via dot notation and syntactic nesting
6+
7+
If you have namespaces in class diagrams that use `.`s already and want to render them without nesting (≤v11.14.0 behaviour), you can use set `class.hierarchicalNamespaces=false` in your mermaid config:
8+
9+
```yaml
10+
config:
11+
class:
12+
hierarchicalNamespaces: false
13+
```

0 commit comments

Comments
 (0)