private void execute() {
editor.doSave(null);
Map<Long, Node> mapping = new HashMap<Long, Node>();
DirectedGraph graph = createDirectedGraph(mapping);
DirectedGraphLayout layout = new DirectedGraphLayout();
layout.visit(graph);
for (Map.Entry<Long, Node> entry: mapping.entrySet()) {
Node node = entry.getValue();
DefaultElementWrapper elementWrapper = (DefaultElementWrapper)
((ProcessWrapper) ((GenericModelEditor) editor).getModel()).getElement(entry.getKey() + "");
elementWrapper.setConstraint(new Rectangle(node.x, node.y, node.width, node.height));