From a56f686f475fcb2a290a5e2f37b79b5bc19907c0 Mon Sep 17 00:00:00 2001 From: ellson Date: Sun, 21 Sep 2008 09:35:25 +0000 Subject: [PATCH] use same id space for graph and clusters --- lib/common/emit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common/emit.c b/lib/common/emit.c index fd6febf3f..3fedcdacc 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -2212,7 +2212,7 @@ static void emit_begin_graph(GVJ_t * job, graph_t * g) obj->u.g = g; obj->emit_state = EMIT_GDRAW; - initObjMapData (job, GD_label(g), "graph", job->common->viewNum, g); + initObjMapData (job, GD_label(g), "graph", g->meta_node->id, g); #ifdef WITH_CODEGENS Obj = NONE; @@ -2418,7 +2418,7 @@ static void emit_begin_cluster(GVJ_t * job, Agraph_t * sg) obj->u.sg = sg; obj->emit_state = EMIT_CDRAW; - initObjMapData (job, GD_label(sg), "cluster", sg->meta_node->id, sg); + initObjMapData (job, GD_label(sg), "graph", sg->meta_node->id, sg); #ifdef WITH_CODEGENS Obj = CLST; -- 2.40.0