// Graph will hold all other objects
graph = new GraphViewer(parent, SWT.BORDER);
parser.addParseResultListener(new ParseResultListener() {
@Override
public void parseFinished(ResultNode result) {
graph.getGraphControl().setRedraw(false);
Iterator<GraphNode> it = nodes.iterator();
while (it.hasNext()) {