// representing evt.getNext(), so we don't have to do that ourselves
begin.removeAllOutgoingRoutes();
}
PipelineActivityNode prevNode = begin;
OperationWrapperNode parentNode = getNodeForPipeline(evt.getSource());
PipelineActivity inserted = evt.getInsertedActivity();
PipelineActivityNode insertedNode = NodeFactory.createNode(inserted, parentNode);
pipelineActivityNodes.put(inserted, insertedNode);
if (prevNode != null) {
prevNode.addOutgoingRoute(new PipelineActivityEdge(prevNode, insertedNode));
}