From: Emden R. Gansner Date: Mon, 9 Sep 2013 15:47:45 +0000 (-0400) Subject: Make sure gvpack updates xlabel positions X-Git-Tag: LAST_LIBGRAPH~32^2~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f91c6a3bfeb968c1ba521e8f22f1f0f3bd63ea7b;p=graphviz Make sure gvpack updates xlabel positions --- diff --git a/cmd/tools/gvpack.c b/cmd/tools/gvpack.c index 52f16ed96..151db9517 100644 --- a/cmd/tools/gvpack.c +++ b/cmd/tools/gvpack.c @@ -412,6 +412,7 @@ static void cloneEdge(Agedge_t * old, Agedge_t * new) ED_label(new) = ED_label(old); ED_head_label(new) = ED_head_label(old); ED_tail_label(new) = ED_tail_label(old); + ED_xlabel(new) = ED_xlabel(old); } /* cloneNode: @@ -428,6 +429,7 @@ static void cloneNode(Agnode_t * old, Agnode_t * new) ND_rw(new) = ND_rw(old); ND_shape(new) = ND_shape(old); ND_shape_info(new) = ND_shape_info(old); + ND_xlabel(new) = ND_xlabel(old); } /* cloneCluster: