if (node instanceof ScriptActivityNode) {
return new ScriptNodeUi2D(graph, (ScriptActivityNode) node);
} else if (node instanceof SourceActivityNode) {
return new SourceNodeUi2D(graph, (SourceActivityNode) node);
} 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) {