From: erg Date: Wed, 6 Oct 2010 16:56:19 +0000 (+0000) Subject: Use more complex graph for memory test X-Git-Tag: LAST_LIBGRAPH~32^2~1175 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5bee3e71c583e9bddaeafba56441e258b0651b5;p=graphviz Use more complex graph for memory test --- diff --git a/cmd/dot/dot.c b/cmd/dot/dot.c index 22922b348..0c405adb2 100644 --- a/cmd/dot/dot.c +++ b/cmd/dot/dot.c @@ -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; }