private BpmnNode convertProcessNode(String id, Process process) {
Node<View<D>, Edge> diagramNode = delegate.factoryManager.newNode(id, getDiagramClass());
D definition = diagramNode.getContent().getDefinition();
ProcessPropertyReader e = delegate.propertyReaderFactory.of(process);
definition.setDiagramSet(new DiagramSet(new Name(process.getName()),
new Documentation(e.getDocumentation()),
new Id(process.getId()),
new Package(e.getPackage()),
new Version(e.getVersion()),
new AdHoc(e.isAdHoc()),
new ProcessInstanceDescription(e.getDescription()),
new Executable(process.isIsExecutable()))
);
definition.setCaseManagementSet(new CaseManagementSet(new CaseIdPrefix(e.getCaseIdPrefix()),
new CaseRoles(e.getCaseRoles()),
new CaseFileVariables(e.getCaseFileVariables())
));
definition.setProcessData(new ProcessData(new ProcessVariables(e.getProcessVariables())));
diagramNode.getContent().setBounds(e.getBounds());
definition.setFontSet(e.getFontSet());
definition.setBackgroundSet(e.getBackgroundSet());
return BpmnNode.of(diagramNode);
}