summaryrefslogtreecommitdiff
path: root/academic/ggobi/ggobi-2.1.8-graphviz.patch
blob: ac7313381beeb264220b4f61e6467248e4f1d85a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -urN ggobi-2.1.8-orig/plugins/GraphLayout/graphviz.c ggobi-2.1.8/plugins/GraphLayout/graphviz.c
--- ggobi-2.1.8-orig/plugins/GraphLayout/graphviz.c	2009-03-15 15:03:18.000000000 -0400
+++ ggobi-2.1.8/plugins/GraphLayout/graphviz.c	2009-03-15 15:04:30.000000000 -0400
@@ -267,8 +267,8 @@
       m = visible[i];
       name = (gchar *) g_array_index (d->rowlab, gchar *, m);
       node = agfindnode (graph, name);
-      pos[i][0] = (gdouble) ND_coord_i(node).x;
-      pos[i][1] = (gdouble) ND_coord_i(node).y;
+      pos[i][0] = (gdouble) ND_coord(node).x;
+      pos[i][1] = (gdouble) ND_coord(node).y;
     }
 
   } else if (layout_type == TWOPI_LAYOUT) {