// main.lockWithMessage("Performing layout (" + root.getNodes().size() + " nodes, " +
// root.getEdges().size() + " edges) ...");
// LayoutCommand command = new LayoutCommand(main, new CoSELayout(root));
LayoutCommand command = new LayoutCommand(viewer, new BiPaLayout(root));
command.execute();
main.makeDirty();
viewer = null;
}