Skip to content

Commit

Permalink
Remove sample fix section from flowchart.html and clean up unused sca…
Browse files Browse the repository at this point in the history
…le property in BaseNode interface
  • Loading branch information
Shahir-47 committed Dec 6, 2024
1 parent 940a79d commit 6c2e431
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
19 changes: 0 additions & 19 deletions demos/flowchart.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,25 +228,6 @@ <h3>flowchart</h3>
</pre>
<hr />

<h2>Sample Fix</h2>
<h3>graph</h3>
<pre class="mermaid">
---
title: Issue 3183
---
graph TD
A[Very Important Node]:::em1 --> B
B[Less Important Node] --> C[Another Important Node]:::em2
D[Also Important Node]:::em3 --> B
C --> E[Important Node ReduxImportant Node Redux]:::em4
classDef em1 font-size:20px
classDef em2 height:75px
classDef em3 scale:2
classDef em4 font-size:20px,font-weight:bold
</pre
>
<hr />

<h2>Sample 2</h2>
<h3>graph</h3>
<pre class="mermaid">
Expand Down
1 change: 0 additions & 1 deletion packages/mermaid/src/rendering-util/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ interface BaseNode {
defaultWidth?: number;
imageAspectRatio?: number;
constraint?: 'on' | 'off';
// scale?: number; will be needed later for scaling both node and text together. Not required for scaling nodes as each node has its own in-built scale attribute that could be used.
}

/**
Expand Down

0 comments on commit 6c2e431

Please sign in to comment.