public void groupAll() {
List<Edge> allEdges = new ArrayList<Edge>();
HierarchyManager hierarchyManager = getRootGraph().getHierarchyManager();
Graph rootGraph = hierarchyManager.getRootGraph();
for (NodeCursor nc = rootGraph.nodes(); nc.ok(); nc.next()) {
Node v = nc.node();
for (EdgeCursor ec = v.outEdges(); ec.ok(); ec.next()) {
Edge e = ec.edge();
allEdges.add(e);
}