question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to declares the direction of the subgraph layout?

See original GitHub issue

Can you help me? How to declares the direction of the subgraph layout?

graph TD
    graph definition
subgraph title TD
    graph definition
end

tks!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:49
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

10reactions
GDFabercommented, Apr 4, 2020

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.

0reactions
lterflothcommented, Mar 15, 2021

This feature would really be appreciated. Lots of flexibility would be added to use mermaid for even more cases. Currently this limits me quite a bit.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flowcharts - mermaid - UNPKG
This declares a graph oriented from left to right. Possible directions are: TB - top bottom; BT - bottom top; RL - right...
Read more >
GraphViz - How to connect subgraphs? - Stack Overflow
If you open the . dot in OmniGraffle they are properly connected, while neato and dot both create superfluous nodes for the cluster....
Read more >
A Quick Introduction to Graphviz
If your rank direction is set to left to right ( rankdir=LR ), then nodes with a higher rank are placed further to...
Read more >
Positioning nodes in a subgraph - Help - Graphviz
Rank only applies to one direction - normally horizontal, but vertical if rankdir=LR or rankdir=RL (rankdir | Graphviz). Also, rank only applies ...
Read more >
ETHOnline 🛠️ The Graph: Building Subgraphs on The Graph
Building Subgraphs on The Graphw/ David Kajpust~ Official ETHOnline Event ~
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found