File: 01_graphviz.patch

package info (click to toggle)
ggobi 2.1.11-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch, trixie
  • size: 13,208 kB
  • ctags: 6,166
  • sloc: ansic: 53,297; xml: 28,411; sh: 11,791; makefile: 264; sed: 16
file content (23 lines) | stat: -rwxr-xr-x 840 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_graphviz.dpatch by  <edd@ron.nulle.part>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Graphiz data structure

@DPATCH@

--- ggobi-2.1.9~20091212.orig/plugins/GraphLayout/graphviz.c	2009-04-08 10:35:38.000000000 -0500
+++ ggobi-2.1.9~20091212/plugins/GraphLayout/graphviz.c	2009-12-14 21:51:09.000000000 -0600
@@ -267,8 +267,10 @@
       m = visible[i];
       name = (gchar *) g_array_index (d->rowlab, gchar *, m);
       node = agfindnode (graph, name);
-      pos[i][0] = ND_coord(node).x;
-      pos[i][1] = ND_coord(node).y;
+      pos[i][0] = (gdouble) ND_coord_i(node).x;
+      pos[i][1] = (gdouble) ND_coord_i(node).y;
+      //pos[i][0] = ND_coord(node).x;
+      //pos[i][1] = ND_coord(node).y;
     }
 
   } else if (layout_type == TWOPI_LAYOUT) {