Deleting nodes now works and redraws the graph, in the demo page deleting has been included