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
It appears to me that in Dagre and TALA layouts, container labels have no margin or don't respect them. All works as expected, until you put something inside a shape, thus making it a container.
I'm pretty sure this isn't expected behavior, but correct me if I'm wrong.
ELK handles all the cases I've tested without issues.
Details
With plain shapes, the label does not cross the shape outline. This is expected.
With containers, the label can cross the shape outline and overlap with other objects. Sometimes the label doesn't fit the view and part of it gets cut off. This is unexpected.
TALA usually avoids the issue due to its creative, more flexible label positioning. However, if you use label.near, then TALA loses its advantage and starts behaving like Dagre (in the context of this issue).
Demonstration
Compiled using v0.6.3, sketch mode enabled. The images have not been cropped.
Plain shapes ✅
*.label.near: top-lefta: "Internal Corporate Network"
b: "External Partner Network"
a -> b
In short
It appears to me that in Dagre and TALA layouts, container labels have no margin or don't respect them. All works as expected, until you put something inside a shape, thus making it a container.
I'm pretty sure this isn't expected behavior, but correct me if I'm wrong.
ELK handles all the cases I've tested without issues.
Details
TALA usually avoids the issue due to its creative, more flexible label positioning. However, if you use
label.near
, then TALA loses its advantage and starts behaving like Dagre (in the context of this issue).Demonstration
Compiled using v0.6.3, sketch mode enabled. The images have not been cropped.
Plain shapes ✅
Dagre
TALA
Containers without⚠️
label.near
Dagre
Containers with⚠️
label.near
Dagre
TALA
The text was updated successfully, but these errors were encountered: