]> granicus.if.org Git - graphviz/commitdiff
Fix bug 731
authorerg <devnull@localhost>
Thu, 30 Jun 2005 21:03:54 +0000 (21:03 +0000)
committererg <devnull@localhost>
Thu, 30 Jun 2005 21:03:54 +0000 (21:03 +0000)
lib/dotgen/class2.c

index 0e192caf3eef05a229b58f1ffc1ea0b7530f3c84..356f64d4b3307341b9a8e52ef8376c752f4a58c8 100644 (file)
@@ -28,7 +28,7 @@ label_vnode(graph_t * g, edge_t * orig)
     dimen = ED_label(orig)->dimen;
     v = virtual_node(g);
     ND_label(v) = ED_label(orig);
-    ND_lw_i(v) = GD_nodesep(v->graph);
+    ND_lw_i(v) = GD_nodesep(v->graph->root);
     if (!ED_label_ontop(orig)) {
        if (GD_flip(g)) {
            ND_ht_i(v) = dimen.x;