nodes.add(ssn2);
edges.add(new LineEdge(n1, sn1));
edges.add(new TextEdge(n1, sn2, "edge label"));
edges.add(new ClusterEdge(n1, sn3, true));
edges.add(new LoopEdge2(sn3));
edges.add(new LineEdge(n1, sn4));
edges.add(new LoopEdge(sn4));
edges.add(new LineEdge(n1, sn5));
edges.add(new LoopEdge2(sn5));
edges.add(new LineEdge(n1, sn6));
edges.add(new ArrowEdge(sn1, ssn1));
edges.add(new ArrowEdge(sn1, ssn2));
graph.addElements(nodes, edges);