From 3225ab0adacb966de9ed6895884e2de16bf49115 Mon Sep 17 00:00:00 2001 From: ellson Date: Mon, 6 Oct 2008 13:12:16 +0000 Subject: [PATCH] fix #1463 - draw graph background before drawing label in -Txdot output --- plugin/core/gvrender_core_dot.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/core/gvrender_core_dot.c b/plugin/core/gvrender_core_dot.c index ef3afe5fe..b4b8275b9 100644 --- a/plugin/core/gvrender_core_dot.c +++ b/plugin/core/gvrender_core_dot.c @@ -216,14 +216,14 @@ xdot_begin_graph (graph_t *g, int s_arrows, int e_arrows) xd = GNEW(xdot_state_t); - if (GD_has_labels(g) & GRAPH_LABEL) - xd->g_l_draw = safe_dcl(g, g, "_ldraw_", "", agraphattr); - else - xd->g_l_draw = NULL; if (GD_n_cluster(g)) xd->g_draw = safe_dcl(g, g, "_draw_", "", agraphattr); else xd->g_draw = NULL; + if (GD_has_labels(g) & GRAPH_LABEL) + xd->g_l_draw = safe_dcl(g, g, "_ldraw_", "", agraphattr); + else + xd->g_l_draw = NULL; xd->n_draw = safe_dcl(g, g->proto->n, "_draw_", "", agnodeattr); xd->n_l_draw = safe_dcl(g, g->proto->n, "_ldraw_", "", agnodeattr); -- 2.40.0