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
I found another issue (0.6.7): this styling does not apply if any of ! -> used: --, <-, <->.
In my case, lowering font-size didn't help...
I'm playing with D2 (Activity diagrams) all morning, I can see big potential, reusability and so on, but Puml gives much shorter diagrams. I added only few steps, and diagram does not fit into monitor already (I know I can rotate layout, but that won't help if I add 1 or 2 steps more). And the problem is not in steps amount, but in a way space is used: it's just wasted :(
I'm getting huge square shape with tiny text with lots of space around it, and extremly long arrows... Changing layout engine didn't help.
All good, but padding ruins the readability and displaying/printing options.
Playing with size this way:
**: {
# trying to reduce padding as much as possible
&shape: hexagon
width: 150
height: 40
# I was hopping that CSS-like approach works...
# BTW, try to add this :) <---- !!!
pad: 0
}
ruins the whole idea of autolayout. The above approach comes at the cost of fixed size and the need of re-styling elements selectively when needed.
Anyway, good work! 👍 Waiting for new D2 versions
UPD: Probably this is what I'm looking for. Found only --elk-padding in CLI help. Is there a way to tune ELK params?
Wanted to separate out a useful comment from a closed issue to further investigate later
I found another issue (0.6.7): this styling does not apply if any of !
->
used:--
,<-
,<->
.In my case, lowering font-size didn't help...
I'm playing with D2 (Activity diagrams) all morning, I can see big potential, reusability and so on, but Puml gives much shorter diagrams. I added only few steps, and diagram does not fit into monitor already (I know I can rotate layout, but that won't help if I add 1 or 2 steps more). And the problem is not in steps amount, but in a way space is used: it's just wasted :(
I'm getting huge square shape with tiny text with lots of space around it, and extremly long arrows... Changing layout engine didn't help.
All good, but padding ruins the readability and displaying/printing options.
Playing with size this way:
ruins the whole idea of autolayout. The above approach comes at the cost of fixed size and the need of re-styling elements selectively when needed.
Anyway, good work! 👍 Waiting for new D2 versions
UPD: Probably this is what I'm looking for. Found only
--elk-padding
in CLI help. Is there a way to tune ELK params?Originally posted by @qd3v in #429 (comment)
The text was updated successfully, but these errors were encountered: