Graph API: create node on diagram

I called

in the GraphPresentationModel.customizeSettings() method to allow create nodes by mouse click. But there is a problem:
IDE creates some squares on graph by mouse click, but seems they aren't nodes (when I try to edit them by double-click then IDE passes null to the editNode() method).
What does IDE create?

Also I don't see any node creation callback like EdgeCreationPolicy for edges. How does IDE create a new node? Is there a callback for node creation?

Can I add a mouse click listener to the Graph component (to implement create nodes without edit mode allow calls)?

Please sign in to leave a comment.