http://js.cytoscape.org/#collection/graph-manipulation
Get the core instance that owns the element.
Get whether the element is inside the graph (i.e. not removed). http://js.cytoscape.org/#ele.inside
Get whether the element has been removed from the graph. http://js.cytoscape.org/#ele.removed
http://js.cytoscape.org/#collection/graph-manipulation