I am using a tree layout. When I insert a new node I’m using a temporary key that gets updated later based on the ID of a record that’s created in a database after the node is created.
When I change the key on the node the link to the node from the parent is drawn incorrectly. When it’s in this state if I scroll the diagram using the overview window or select the node with the mouse and then wiggle it a little bit the link is then fine.
One possibility I have is to change things around so that the we don’t have to change the key. However, is there any other way to get around this problem so that I don’t have to do that? Some way of telling the link to refresh itself?