ElementFactoryUtil.readParameters(graph, element, e);
- GuardedAsyncProcedureWrapper<IElement> guard = new GuardedAsyncProcedureWrapper<IElement>(procedure, 1);
+ GuardedAsyncProcedureWrapper<IElement> guard = new GuardedAsyncProcedureWrapper<IElement>(procedure, 2);
+ ElementFactoryUtil.loadLayersForElement(graph, diagram, e, element, guard);
ElementFactoryUtil.readTransform(graph, element, e, guard);
// graph.asyncRequest(new SafeName(resource), new ProcedureAdapter<String>() {