-
Hey I am currently analyzing #57. I have a question regarding the method getTargetAnchorCorrection in the class ArrowEdgeView: Is this at the right place? I would assume that this method can be omitted here. I haven't seen any case where this is called. In my opinion this information should be put into a class, which extends the SEdge, as the ManhattanRouter picks the correction information from the model/SEdge. original thread by Jonas Ebel |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi,
Those concepts actually come from Sprotty, as they are concerned with the client-side rendering. |
Beta Was this translation helpful? Give feedback.
-
Hi Jonas, |
Beta Was this translation helpful? Give feedback.
Hi Jonas,
you are completely right the getTargetAnchorCorrection in
ArrowEdgeView
is deprecated and can be omitted. Sprotty did an API redesign a while back witch moved the anchor correction calculation to theEdgeRouter
(eclipse-sprotty/sprotty#51). As you already noticed anchor corrections are now applied directly in the underlyingSEdge
class.