Updated parser to use treemap

This commit is contained in:
shubham-mermaid
2025-07-07 18:50:53 +05:30
parent 85eba01663
commit 0da2922ee7
3 changed files with 9 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
---
'mermaid': minor
---
chore: use treemap instead of treemapdoc in parser.

View File

@@ -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,

View File

@@ -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