Remove/hide compound node without removing/hiding descendants

cytoscape.js

Solution

Use `eles.move()` : http://js.cytoscape.org/#collection/graph-manipulation/eles.move

Then you can remove (what used to be) the parent node.

Problem

In cytoscape.js, compoundNode.remove() removes the compound node and its descendants from the graph. Is there a way to only remove the compound node and keep the descendants?

Original source