diff --git a/AlgebraicDataflowArchitectureModel/src/application/editor/Editor.java b/AlgebraicDataflowArchitectureModel/src/application/editor/Editor.java index b1b8bb6..dd86d2a 100644 --- a/AlgebraicDataflowArchitectureModel/src/application/editor/Editor.java +++ b/AlgebraicDataflowArchitectureModel/src/application/editor/Editor.java @@ -32,6 +32,7 @@ public class Editor { protected DataTransferModel model = null; + protected mxGraph graph; private final mxGraphComponent graphComponent; @@ -303,7 +304,7 @@ StringBuilder fileString = new StringBuilder(); fileString.append("model {\n"); - fileString.append(this.model.getSourceText()); + fileString.append(model.getSourceText()); fileString.append("}\n"); fileString.append("geometry {\n");