prmr / JetUML

A desktop application for fast UML diagramming.
GNU General Public License v3.0
619 stars 121 forks source link

Connection point calculation error in State Transition Diagram #547

Closed prmr closed 3 months ago

prmr commented 3 months ago

Description When rendering two transition edges between two state nodes, if one of the nodes is in a very specific position in relation to the other node, the connection point for one of the two edges will be located at an incorrect position within the node. This can be observed for the bottom two corners.

Steps to reproduce

  1. Create new State diagram .
  2. Create two state nodes, join them by two edges in the same direction.
  3. Carefully rotate one node around the other. The misplaced connection point can be observed by the edge flashing when the node is in the precise problematic position.

Screenshots image

Configuration

Additional information Probably an issue in StateTransitionEdgeRenderer

jkcoding7 commented 3 months ago

It appears that the incorrect position can occur at either connection point of the edge, but always in the north-west and north-east directions:

image