From f6325f69067cc6c1c127b69e21075ff1eb1bbc08 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Mon, 28 Aug 2023 12:30:39 +0530 Subject: [PATCH] docs: Disable showValues in sankey example --- docs/syntax/sankey.md | 10 ++++++++++ packages/mermaid/src/docs/syntax/sankey.md | 5 +++++ 2 files changed, 15 insertions(+) diff --git a/docs/syntax/sankey.md b/docs/syntax/sankey.md index 6f9e14d82..9b9fe2766 100644 --- a/docs/syntax/sankey.md +++ b/docs/syntax/sankey.md @@ -19,6 +19,11 @@ The things being connected are called nodes and the connections are called links This example taken from [observable](https://observablehq.com/@d3/sankey/2?collection=@d3/d3-sankey). It may be rendered a little bit differently, though, in terms of size and colors. ```mermaid-example +--- +config: + sankey: + showValues: false +--- sankey-beta Agricultural 'waste',Bio-conversion,124.729 @@ -92,6 +97,11 @@ Wind,Electricity grid,289.366 ``` ```mermaid +--- +config: + sankey: + showValues: false +--- sankey-beta Agricultural 'waste',Bio-conversion,124.729 diff --git a/packages/mermaid/src/docs/syntax/sankey.md b/packages/mermaid/src/docs/syntax/sankey.md index c5e7244c6..c4db0646f 100644 --- a/packages/mermaid/src/docs/syntax/sankey.md +++ b/packages/mermaid/src/docs/syntax/sankey.md @@ -13,6 +13,11 @@ The things being connected are called nodes and the connections are called links This example taken from [observable](https://observablehq.com/@d3/sankey/2?collection=@d3/d3-sankey). It may be rendered a little bit differently, though, in terms of size and colors. ```mermaid-example +--- +config: + sankey: + showValues: false +--- sankey-beta Agricultural 'waste',Bio-conversion,124.729