diff --git a/AlgebraicDataflowArchitectureModel/src/models/Edge.java b/AlgebraicDataflowArchitectureModel/src/models/Edge.java index 219b645..9ea2037 100644 --- a/AlgebraicDataflowArchitectureModel/src/models/Edge.java +++ b/AlgebraicDataflowArchitectureModel/src/models/Edge.java @@ -3,6 +3,7 @@ public class Edge { protected Node source; protected Node destination; + private EdgeAttribute attribute; public Edge(Node src, Node dst) { source = src; @@ -24,4 +25,12 @@ public void setDestination(Node destination) { this.destination = destination; } + + public EdgeAttribute getAttribute() { + return attribute; + } + + public void setAttribute(EdgeAttribute attribute) { + this.attribute = attribute; + } }