Can you help me?
How to declares the direction of the subgraph layout?
graph TD
graph definition
subgraph title TD
graph definition
end
tks!
Hi @chen4221, unfortunately this is currently not possible. Flowchart rendering depends on dagre which does not offer the functionality to set different directions in the subgraphs either, so it's rather tricky to get it to work.
But this issue should be left open as many people have requested this feature. If you or someone else reading this can give a pointer, feel free to do so.
I just found this issue from a na茂ve search from a linked issue that noted that mermaid relies on dagre. Dagre mentions that graphviz offers more functionality for environments where rendering does not have to be done client-side. Having come to mermaid via a desktop note-taking software, I'm completely unfamiliar with the range of users--is client-side rendering important for mermaid?
there is some movement in this feature? I just wanted to use it and... I can't. Thank you for your work!
Most helpful comment
Hi @chen4221, unfortunately this is currently not possible. Flowchart rendering depends on dagre which does not offer the functionality to set different directions in the subgraphs either, so it's rather tricky to get it to work.
But this issue should be left open as many people have requested this feature. If you or someone else reading this can give a pointer, feel free to do so.