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
Description
The current viewers do not compute a precise intersection between an edge and a shape that is not a rectangle or a circle. This includes rounded rectangles (states in state diagrams) and ellipses (use cases in use case diagrams).
The reason for this is that up to now a simpler algorithm is used that computes the intersection with the shape's bounding box. For high-quality rendering of diagrams, it would be nice to compute the intersection precisely.
Additional information
The solution should respect the existing design, which is illustrated in the code through method CircularStateNodeViewer#getConnectionPoint. The intersection algorithms should be implemented in GeomUtils and tested, and then used in the node viewers for state and use case nodes, respectively.
The text was updated successfully, but these errors were encountered:
Description
The current viewers do not compute a precise intersection between an edge and a shape that is not a rectangle or a circle. This includes rounded rectangles (states in state diagrams) and ellipses (use cases in use case diagrams).
The reason for this is that up to now a simpler algorithm is used that computes the intersection with the shape's bounding box. For high-quality rendering of diagrams, it would be nice to compute the intersection precisely.
Additional information
The solution should respect the existing design, which is illustrated in the code through method
CircularStateNodeViewer#getConnectionPoint
. The intersection algorithms should be implemented inGeomUtils
and tested, and then used in the node viewers for state and use case nodes, respectively.The text was updated successfully, but these errors were encountered: