boolean found = false;
DiagramInfo diagramInfo = getDiagramInfo(processInstance.getProcessId());
if (diagramInfo != null) {
for (DiagramNodeInfo nodeInfo: diagramInfo.getNodeList()) {
if (nodeInfo.getName().equals("id=" + nodeInstance.getNodeId())) {
result.add(new ActiveNodeInfo(diagramInfo.getWidth(), diagramInfo.getHeight(), nodeInfo));
found = true;
break;
}
}
} else {