firstXml, secondXML);
}
public static Diagram createDiagram(KeyHelper kh) {
Glyph g1 = new Glyph("class", "Test Class", createList(new TextLine(
"Here is a line of text", createList(kh.createSymbol(
"Baphomet", "B")))), createList(kh.createSymbol(
"Public", "P")));
Arrow a1 = new Arrow("leaver");
// adding problem with references.
Glyph g2 = new Glyph("ref1", "", "Some Item A", null, null);
Glyph g3 = new Glyph("ref1", "", "Some Item B", null, null);
Context inside = new Context(createList((Contained) g1, g2, g3), true,
null, null);
new Link(a1, g1, null, null, LinkEndStyle.ARROW, new TextLine(
"Some Label"), Direction.RIGHT);
new Link(a1, g2);
new Link(a1, g3);
Diagram d1 = new Diagram("My Diagram", createList((Contained) inside,