added del function for whole edgelist and del function for nodes by index