-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Local direction
inside containers
#1559
Comments
i hope this and #949 are resolved together. |
Thanks 🙏 Sorry for the kind of duplicate! |
It seems like ELK.js layout engine doesn't support this: |
yeah that's right. works in TALA but not for other layout engines, fundamental restrictions with their algorithms unfortunately |
This thing made me moving to Mermaid.js |
@AndreiPashkin Mermaid.js can't do it either, they use dagre too. |
It's not impossible. grid-columns: 1
grid-gap: 0
row1
row2: {direction: right}
row3
row4
row*: "" {style.opacity: 0}
row1.a -- row2.b -- row3.c -- row4.d
row2.b -- row2.e |
@bo-ku-ra Thank you for the snippet.
In my eyes it remains a major drawback of the engine. But, thanks for the example really! |
Currently the
direction
is only on root-level.I would like to obtain this result:
I tried with
direction: down
but the layout will put C and E on an equal row.I tried to make a transparent container for B and E, but even inside this container, the applied direction is
down
, yet I would like it to beright
.(I also tried using imports, where the desired direction is specified inside the imported file, but it is ignored.)
I wonder if it is possible to implement inner-direction for a container.
Thanks
The text was updated successfully, but these errors were encountered: