eventSupport.fireNodeRemoved(removedNode);
}
private void rebuildEdges(OperationWrapperNode opNode, OperationPipeline pipeline) {
List<PipelineActivity> activities = pipeline.getActivities();
PipelineActivityNode lastNode = null;
int size = activities.size();
if (size == 1) {
lastNode = pipelineActivityNodes.get(activities.get(0));
} else if (size > 1) {
for (int n = 0; n < (size - 1); ++n) {
PipelineActivityNode left = pipelineActivityNodes.get(activities.get(n));
PipelineActivityNode right = pipelineActivityNodes.get(activities.get(n + 1));
left.removeAllOutgoingRoutes();
left.addOutgoingRoute(new PipelineActivityEdge(left, right));
lastNode = right;
}
}