diff --git a/AlgebraicDataflowArchitectureModel/src/application/editor/Stage.java b/AlgebraicDataflowArchitectureModel/src/application/editor/Stage.java index 8eb198e..664f8db 100644 --- a/AlgebraicDataflowArchitectureModel/src/application/editor/Stage.java +++ b/AlgebraicDataflowArchitectureModel/src/application/editor/Stage.java @@ -23,6 +23,7 @@ public static final int DATA_FLOW_LAYER = 0; public static final int PUSH_FLOW_LAYER = 1; public static final int PULL_FLOW_LAYER = 2; + public static final int DEPENDENCY_LAYER = 3; public Stage(mxGraphComponent graphComponent) { this.graphComponent = graphComponent; @@ -52,12 +53,14 @@ mxCell nodeAndDataFlowLayer = new mxCell(); // 0 mxCell pushFlowLayer = new mxCell(); // 1 mxCell pullFlowLayer = new mxCell(); // 2 + mxCell dependencyLayer = new mxCell(); //3 graph.getModel().beginUpdate(); try { graph.addCell(nodeAndDataFlowLayer, root); graph.addCell(pushFlowLayer, root); graph.addCell(pullFlowLayer, root); + graph.addCell(dependencyLayer, root); } finally { graph.getModel().endUpdate(); }