JetUML icon indicating copy to clipboard operation
JetUML copied to clipboard

Connection point calculation error in State Transition Diagram

Open prmr opened this issue 1 year ago • 1 comments

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

  • JetUML Release: 3.7

Additional information Probably an issue in StateTransitionEdgeRenderer

prmr avatar May 09 '24 20:05 prmr

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

jkcoding7 avatar May 10 '24 14:05 jkcoding7