From 8f3703d705a4b45fb7ae996f77c30a84ecc5796c Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Mon, 9 Sep 2013 15:31:03 -0400 Subject: [PATCH] Add missing gvbindrec for subgraphs --- cmd/tools/gvpack.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/tools/gvpack.c b/cmd/tools/gvpack.c index 151db9517..8b6199df4 100644 --- a/cmd/tools/gvpack.c +++ b/cmd/tools/gvpack.c @@ -676,6 +676,7 @@ cloneSubg(Agraph_t * g, Agraph_t * ng, Agsym_t * G_bb, Dt_t * gnames) #ifdef WITH_CGRAPH for (subg = agfstsubg (g); subg; subg = agfstsubg (subg)) { nsubg = agsubg(ng, xName(gnames, agnameof(subg)), 1); + agbindrec (nsubg, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE); #else mg = g->meta_node->graph; for (me = agfstout(mg, g->meta_node); me; me = agnxtout(mg, me)) { @@ -837,6 +838,7 @@ static Agraph_t *cloneGraph(Agraph_t ** gs, int cnt, GVC_t * gvc) subg = agsubg(root, xName(gnames, agnameof(g))); #else subg = agsubg(root, xName(gnames, agnameof(g)), 1); + agbindrec (subg, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE); #endif cloneSubg(g, subg, G_bb, gnames); } -- 2.40.0