top.add(a);
}
@Kite9Item
public Diagram example_1_1_ClassHierarchy() throws IOException {
Glyph collection = new Glyph("C", "interface", "Collection", null, null);
Context c1 = new Context("C1", HelpMethods.listOf(collection), false, null, null);
Glyph list = new Glyph("L", "interface", "List", null, null);
Glyph set = new Glyph("S", "interface", "Set", null, null);
Context c2 = new Context("C2", HelpMethods.listOf(set, list), false, null, Layout.RIGHT);
Glyph hs = new Glyph("HS", "class", "HashSet", null, null);
Glyph ts = new Glyph("TS", "class", "TreeSet", null, null);
Glyph lhs = new Glyph("LHS", "class", "LinkedHashSet", null, null);
Glyph al = new Glyph("AL", "class", "ArrayList", null, null);
Glyph ll = new Glyph("LL", "class", "LinkedList", null, null);
Context c3 = new Context("C3", HelpMethods.listOf(hs, ts, lhs, al, ll), false, null, Layout.RIGHT);
List<Contained> c2Links = new ArrayList<Contained>(3);
List<Contained> c3Links = new ArrayList<Contained>(6);