File: init.c

package info (click to toggle)
ggobi 2.1.11-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 13,208 kB
  • ctags: 6,166
  • sloc: ansic: 53,297; xml: 28,411; sh: 11,791; makefile: 264; sed: 16
file content (28 lines) | stat: -rw-r--r-- 492 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <gtk/gtk.h>
#include "ggobi.h"
#include "externs.h"
#include "GGobiAPI.h"

#include "plugin.h"

#include "glayout.h"

void
glayout_init (glayoutd *gl) {

  arrayd_init_null (&gl->dist);
  arrayd_init_null (&gl->pos);

  gl->d = NULL;
  gl->e = NULL;
  gl->dsrc = NULL;

  gl->centerNodeIndex = -1;
  gl->radialAutoUpdate = false;
  gl->radialNewData = true;
  gl->radial = NULL;

  gl->neato_dim = 2;
  gl->neato_model = neato_shortest_path;
  gl->neato_use_edge_length_p = false;
}