-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Description
Hi all!
I've been working with JUNG and encountered a recurring issue that I may have identified. The problem is with the EditingModalGraphMouse class. Specifically, if I add a node to an empty graph using the popup menu, I am unable to delete that node right after it. I was able the delete the node after adding a new one with the edit mode.
I managed to solve this by adding vv.getNodeSpatial().recalculate() at the end of the node creation part in the EditingPopupGraphMousePlugin (after line 91).
I'm not entirely sure what the vv.getNodeSpatial().recalculate() function does exactly, but I think it should be called when adding a new node with the popup menu.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels