]> granicus.if.org Git - graphviz/commitdiff
Use more complex graph for memory test
authorerg <devnull@localhost>
Wed, 6 Oct 2010 16:56:19 +0000 (16:56 +0000)
committererg <devnull@localhost>
Wed, 6 Oct 2010 16:56:19 +0000 (16:56 +0000)
cmd/dot/dot.c

index 22922b3489f5453ba5d99bff43ae9caa1c34ef52..0c405adb28e5d4dd75d60d6d1b468f42951b842c 100644 (file)
@@ -134,6 +134,7 @@ static graph_t *create_test_graph(void)
 
     Agnode_t *node[NUMNODES];
     Agraph_t *g;
+    Agraph_t *sg;
     int j, k;
     char name[10];
 
@@ -168,6 +169,10 @@ static graph_t *create_test_graph(void)
 #endif /* WITH_CGRAPH */
        }
     }
+
+    sg = agsubg (g, "cluster1");
+    aginsert (sg, node[0]);
+
     return g;
 }