Routing does not work properly for elements inside a structured compartment #1555
Unanswered
xXNicksdaXx
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hello! I could imagine this has to do with the anchor calculation but it is very hard to tell what is going on without further debugging the actual route calculation. Just out of curiosity, the position of the elements (structured compartment vs classes on root) do not change the behavior, right? Just to make sure the calculation of local vs global coordinates is handled as expected. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I encountered some unexpected behaviour while working with the Manhattan RouterKind inside a freeform structured compartment. In the video you can see the behaviour for the inheritance edge which works properly on the
GGraph
element. Meanwhile, the other association edge snaps to the top centre of the elements inside theGCompartment
(StructuredCompartmentView
) in most scenarios. Also, when changing the routing points for the edge, it is correctly received by the server and also set up inside the .notation file, but the client snaps the route back to the top centre of the element.Although the edges have a different view, they have the same setup. Also, the label at the top of the role elements inside the compartment has a disabled layoutChildFeature set up, but I don't think this is the problem — I encountered similar behaviour for sub elements inside compartments without this label. For some reason I cannot explain, it usually wants to take the top centre of the element …
When investigating the router logic, I could not find a potential source of the issue. Your help is very much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions