diff --git a/AlgebraicDataflowArchitectureModel/src/application/editor/stages/ControlFlowModelingStage.java b/AlgebraicDataflowArchitectureModel/src/application/editor/stages/ControlFlowModelingStage.java index f76e1a6..ed2e6ef 100644 --- a/AlgebraicDataflowArchitectureModel/src/application/editor/stages/ControlFlowModelingStage.java +++ b/AlgebraicDataflowArchitectureModel/src/application/editor/stages/ControlFlowModelingStage.java @@ -526,13 +526,14 @@ graph.getModel().beginUpdate(); try { - // PUSH/PULLごとに ResourceNode, mxCellのインスタンスを対応させる. + // Create cells correspond to resource nodes for the PUSH/PULL layer. Map pushResourceNodeCells = createResourceNodeCells(graph, controlFlowGraph, PUSH_FLOW_LAYER); Map pullResourceNodeCells = createResourceNodeCells(graph, controlFlowGraph, PULL_FLOW_LAYER); + // Create cells correspond to event-channel nodes for the PUSH layer. Map pushFlowEventNodeCells = createEventChannelNodeCells(graph, controlFlowGraph, PUSH_FLOW_LAYER); - // PUSH/PULLのmxGraph上の頂点をエッジでつなぐ. + // Insert edges between the connected vertices graph = insertControlFlowEdges(PUSH_FLOW_LAYER, pushResourceNodeCells, pushFlowEventNodeCells); graph = insertControlFlowEdges(PULL_FLOW_LAYER, pullResourceNodeCells, null); } finally {