1. tbrugz
  2. kmlutils

Commits

tbrugz  committed 3ae65ad

edge: added label & stereotype

  • Participants
  • Parent commits 34e8d09
  • Branches default

Comments (0)

Files changed (2)

File src/tbrugz/graphml/DumpGraphMLModel.java

View file
 	}
 
 	public void outEdgeContents(Edge l, int level) {
-		outSnippet(getSnippetId(l, "edge"), level);
+		outSnippet(getSnippetId(l, "edge"), level, l.getName());
 	}
 
 	public void outNodeContents(Node t, int level) {

File src/tbrugz/graphml/model/Edge.java

View file
 	//Node target;
 	String target;
 	String source;
+	String stereotype;
 
 	public String getName() {
 		return name;
 	}
 	
 	public String getStereotype() {
-		return null;
+		return stereotype;
 	}
 	public void setStereotype(String s) {
+		this.stereotype = s;
 	}
 	public String getStereotypeParam(int i) {
 		return null;