} else if (node instanceof TargetActivityNode) {
return new TargetNodeUi2D(graph, (TargetActivityNode) node);
} else if (node instanceof TransformationActivityNode) {
return new TransformationNodeUi2D(graph, (TransformationActivityNode) node);
} else if (node instanceof WebServiceCallActivityNode) {
return new WebServiceCallNodeUi2D(graph, (WebServiceCallActivityNode) node);
} else if (node instanceof BulkLoadActivityNode) {
return new BulkLoadNodeUi2D(graph, (BulkLoadActivityNode) node);
}
throw new RuntimeException("Unexpected PipelineActivityNode: " + node);
}