You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to have a option to set the depth level of nodes. It is interesting for flowchart where the End node should be the left/bottom most even if the parent node is way upper in the tree.
Describe the solution you'd like
An option to define the depth level when creating the node:
graph TD
A[Start] --> B{Is it?}
B -->|Yes| C[OK]
C --> D[Rethink]
D --> B
B -->|No| E[End](5) %% Define depth level as 5
or a class atribute to define it: style E depth:5
Describe alternatives you've considered
I put an invisible edge from a last level node to the end node as workaround:
graph TD
A[Start] --> B{Is it?};
B -->|Yes| C[OK];
C --> D[Rethink];
D --> B;
B -->|No| E[End];
D --- E;
linkStyle 5 stroke:#0000, ;
Additional context
That would be nice for flowcharts since the user will be able to control the flow manually.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I would like to have a option to set the depth level of nodes. It is interesting for flowchart where the End node should be the left/bottom most even if the parent node is way upper in the tree.
Describe the solution you'd like
An option to define the depth level when creating the node:
or a class atribute to define it:
style E depth:5
Describe alternatives you've considered
I put an invisible edge from a last level node to the end node as workaround:
Additional context
That would be nice for flowcharts since the user will be able to control the flow manually.
The text was updated successfully, but these errors were encountered: