private Map<WorkflowInstanceNode, List<WorkflowInstanceNodePortData>> groupNodePortData(
List<WorkflowServiceIOData> list) {
Map<WorkflowInstanceNode,List<WorkflowInstanceNodePortData>> portData=new HashMap<WorkflowInstanceNode, List<WorkflowInstanceNodePortData>>();
for (WorkflowServiceIOData data : list) {
WorkflowInstanceNodePortData workflowInstanceNodePortData = new WorkflowInstanceNodePortData(data);
List<WorkflowInstanceNodePortData> portDataList = getWorkflowInstanceNodePortDataListForWorkflowInstanceNode(portData, workflowInstanceNodePortData.getWorkflowInstanceNode(), true);
portDataList.add(workflowInstanceNodePortData);
}
return portData;
}