If you create a new node, then change your mind and decide to cancel the creation, the new node will be deleted. (When the user clicks "New Node", a node is immediately created and saved. Prior to this, clicking "Cancel" would leave the newly created node in place).
Similarly, if you create a new edge, then change your mind and decide to cancel the creation, the new edge will be deleted.
ADDITIONAL NOTES:
We re-added support for the Revision field. We make use of this to decide whether to delete a "Canceled" node/edge. Upon creation, a new node/edge has a revision value of -1. When you save the node/edge the revision is incremented to 0. If you "Cancel" a node or edge edit and the revision is still at -1, we delete the node or edge.
The "Delete" button in Edge Edit mode is now only shown if the edge has been previously saved. Otherwise it only shows "Cancel". This makes it clearer that when you click "Cancel" on an newly-created unsaved edge, the edge will be removed, matching the node behavior.
We re-added support for the Created and Updated fields. Prior to this they were left blank.
Addresses #53
If you create a new node, then change your mind and decide to cancel the creation, the new node will be deleted. (When the user clicks "New Node", a node is immediately created and saved. Prior to this, clicking "Cancel" would leave the newly created node in place).
Similarly, if you create a new edge, then change your mind and decide to cancel the creation, the new edge will be deleted.
ADDITIONAL NOTES:
Revision
field. We make use of this to decide whether to delete a "Canceled" node/edge. Upon creation, a new node/edge has a revision value of-1
. When you save the node/edge the revision is incremented to 0. If you "Cancel" a node or edge edit and the revision is still at-1
, we delete the node or edge.Created
andUpdated
fields. Prior to this they were left blank.