Updating Fields
We trigger editing of the node labels by
Notice that we save which node we are editing so that if a repaint occurs, we don't stop editing. We also save off the current content so that if we cancel out of the edit, we can set things back to the way they were.
This then loads our edit component that we've created where we can make the changes. If we press ESC
while editing, it fires our
When we press ENTER
, it triggers our