a function tells id the node should be deleted, set undefined if want to delete all
insert a set of nodes, if some nodes exists, ignore the errors
nodes to be inserted
new node ids (without which exist already)
load graph data and show network in current format
delete matched nodes