Added control to add new node, but some problems came up:
1- strange behavior when adding node with same name multiple times
2- re-adding a previously existing node that also has an edge, the link is not re-added automatically