diff --git a/cypress/platform/knsv2.html b/cypress/platform/knsv2.html index 88fcc8f15..24ad332e6 100644 --- a/cypress/platform/knsv2.html +++ b/cypress/platform/knsv2.html @@ -147,7 +147,11 @@ classDef class1 fill:red,color:blue,stroke:#FFD600;
-%%{init: {'treemap': {'valueFormat': '$0,0'}}}%% +--- +config: + treemap: + valueFormat: '$0,0' +--- treemap "Budget" "Operations" diff --git a/demos/treemap.html b/demos/treemap.html index 5d51dbe37..0f4867606 100644 --- a/demos/treemap.html +++ b/demos/treemap.html @@ -31,55 +31,44 @@This is a demo of the new treemap diagram type in Mermaid.
Basic Treemap Example
--+
treemap "Root" "Branch 1" "Leaf 1.1": 10 "Leaf 1.2": 15 "Branch 2" - "Leaf 2.1": 20 + "Branch 2.1" + "Leaf 2.1.1": 20 + "Leaf 2.1.2": 25 "Leaf 2.2": 25 "Leaf 2.3": 30 -- treemap Root Branch 1 Leaf 1.1: 10 Leaf 1.2: 15 Branch 2 Leaf 2.1: 20 Leaf 2.2: 25 Leaf 2.3: - 30 -+
+
treemap
- Technology Stack
- Frontend
- React: 35
- CSS: 15
- HTML: 10
- Backend
- Node.js: 25
- Express: 10
- MongoDB: 15
- DevOps
- Docker: 10
- Kubernetes: 15
- CI/CD: 5
-
-