// System.out.println("#Edges: " + result.getEdgeCount());
if (running) {
GraphView view = result.getView();
graphModel.setVisibleView(view);
if (model.getCurrentResult() != null) {
graphModel.destroyView(model.getCurrentResult());
}
model.setCurrentResult(view);
} else {
//destroy view
graphModel.destroyView(result.getView());