1 #ifndef GLAYOUT_H
2 
3 #include "plugin.h"
4 
5 typedef struct {
6 
7   GGobiData *d, *e;
8 
9   gint nnodes;      /*-- nrows, not nrows_in_plot --*/
10   gint nedges;
11   vector_i *inEdges;  /*-- one vector per node, each element an integer --*/
12   vector_i *outEdges; /*-- one vector per node, each element an integer --*/
13   /*
14   vector_i nInEdgesVisible;
15   vector_i nOutEdgesVisible;
16   */
17 
18   GtkWidget *window;
19 
20   /*-- finding neighborhoods --*/
21   gboolean neighbors_find_p;
22   gint neighborhood_depth;
23 
24 } graphactd;
25 
26 
27 void graphact_init (graphactd *ga);
28 void init_edge_vectors (gboolean reinit, PluginInstance *inst);
29 graphactd * graphactFromInst (PluginInstance *inst);
30 void ga_leaf_hide_cb (GtkWidget *btn, PluginInstance *inst);
31 void ga_orphans_hide_cb (GtkWidget *btn, PluginInstance *inst);
32 void ga_nodes_show_cb (GtkWidget *btn, PluginInstance *inst);
33 void count_visible_edges (PluginInstance *inst);
34 void show_neighbors_toggle_cb (GtkToggleButton *button, PluginInstance *inst);
35 void neighborhood_depth_cb (GtkWidget *w, gpointer cbd);
36 void ga_edge_tidy_cb (GtkWidget *, PluginInstance *);
37 
38 #define GLAYOUT_H
39 #endif
40 
41