mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 14:29:25 +02:00
Updated parser to use treemap
This commit is contained in:
5
.changeset/stale-crabs-deny.md
Normal file
5
.changeset/stale-crabs-deny.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'mermaid': minor
|
||||||
|
---
|
||||||
|
|
||||||
|
chore: use treemap instead of treemapdoc in parser.
|
@@ -8,7 +8,7 @@ export {
|
|||||||
Architecture,
|
Architecture,
|
||||||
GitGraph,
|
GitGraph,
|
||||||
Radar,
|
Radar,
|
||||||
TreemapDoc,
|
Treemap,
|
||||||
Branch,
|
Branch,
|
||||||
Commit,
|
Commit,
|
||||||
Merge,
|
Merge,
|
||||||
@@ -20,7 +20,7 @@ export {
|
|||||||
isPieSection,
|
isPieSection,
|
||||||
isArchitecture,
|
isArchitecture,
|
||||||
isGitGraph,
|
isGitGraph,
|
||||||
isTreemapDoc,
|
isTreemap,
|
||||||
isBranch,
|
isBranch,
|
||||||
isCommit,
|
isCommit,
|
||||||
isMerge,
|
isMerge,
|
||||||
|
@@ -34,14 +34,14 @@ interface ClassDefStatement {
|
|||||||
className: string
|
className: string
|
||||||
styleText: string // Optional style text
|
styleText: string // Optional style text
|
||||||
}
|
}
|
||||||
interface TreemapDoc {
|
interface Treemap {
|
||||||
TreemapRows: TreemapRow[]
|
TreemapRows: TreemapRow[]
|
||||||
title?: string
|
title?: string
|
||||||
accTitle?: string
|
accTitle?: string
|
||||||
accDescr?: string
|
accDescr?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
entry TreemapDoc returns TreemapDoc:
|
entry Treemap returns Treemap:
|
||||||
TREEMAP_KEYWORD
|
TREEMAP_KEYWORD
|
||||||
(
|
(
|
||||||
TitleAndAccessibilities
|
TitleAndAccessibilities
|
||||||
|
Reference in New Issue
Block a user