@Override
public void setGraph(OperationGraph2D graph) {
this.graph = graph;
collapseAllPipelinesAction = new CollapseAllOperationsAction();
inputHandler = new InputHandler(graph);
graphPrinter = new GenericPrinter(graph);
graph.getModel().addModelListener(new ModelListener());
graph.getLayout().addNodeExpansionListener(new NodeExpansionListenerImpl());
graph.setDropHandler(new OperationGraphDropHandler(this));
graph.addPropertyChangeListener(Graph2D.MODEL_PROPERTY, new PropertyChangeListener() {