graph functions so that plugins have dependencies on graph libraries.
Clean up header inclusions.
#include "agxbuf.h"
#include "utils.h" /* must follow types.h and agxbuf.h */
#include "gvplugin.h" /* must follow gvcext.h (in types.h) */
+#include "gvcjob.h" /* must follow gvcext.h (in types.h) */
#include "gvcint.h" /* must follow gvcext.h (in types.h) */
#include "gvcproc.h" /* must follow gvcext.h (in types.h) */
double T0; /* initial temperature */
} fdpParms_t;
+ typedef struct {
+ int flags;
+ } gvlayout_features_t;
+
#ifdef __cplusplus
}
#endif
#include "graph.h"
#include "const.h"
#include "gvplugin.h"
+#include "gvcjob.h"
#include "gvcint.h"
#include "gvcproc.h"
extern "C" {
#endif
-#include "gvcjob.h"
#include "gvcommon.h"
- typedef struct {
- int flags;
- } gvlayout_features_t;
-
/* active plugin headers */
typedef struct gvplugin_active_layout_s {
gvlayout_engine_t *engine;
GVJ_t *job; /* current job */
int emit_state; /* current emit_state */
- graph_t *g; /* current graph */
- graph_t *sg; /* current subgraph/cluster */
- node_t *n; /* current node */
- edge_t *e; /* current edge */
+ graph_t *g; /* current graph */
/* gvrender_begin_job() */
gvplugin_active_textlayout_t textlayout;
extern "C" {
#endif
-#include <stdio.h>
-#include "geom.h"
-#include "color.h"
-#include "gvcext.h"
#include "gvcommon.h"
#define ARRAY_SIZE(A) (sizeof(A)/sizeof(A[0]))
GVJ_t *next_active; /* linked list of active jobs (e.g. multiple windows) */
GVCOMMON_t *common;
+ graph_t *g; /* current state */
+ graph_t *sg;
+ node_t *n;
+ edge_t *e;
char *input_filename;
int graph_index;
int viewNum; /* current view - 1 based count of views,
all pages in all layers */
char *objtype; /* "graph", "cluster", "node", or "edge" */
- char *graph_name;
- char *cluster_name;
- unsigned long cluster_id;
- char *node_name;
- unsigned long node_id;
- char *edge_tailname;
- unsigned long edge_tailid;
- char *edge_headname;
- unsigned long edge_headid;
- unsigned long edge_id;
- bool edge_directed;
} GVCOMMON_t;
#endif
#include "memory.h"
-
#include "const.h"
#include "types.h"
#include "graph.h"
#include "gvplugin.h"
+#include "gvcjob.h"
#include "gvcint.h"
#include "gvcproc.h"
#include "types.h"
#include "graph.h"
#include "gvplugin.h"
+#include "gvcjob.h"
#include "gvcint.h"
#include "gvcproc.h"
#include <string.h>
#include "const.h"
-#include "types.h"
#include "gvplugin_device.h"
#include "gvcint.h"
#include "gvcproc.h"
#include "config.h"
#endif
-#include "gvplugin.h"
-#include "types.h"
+#include "gvplugin_layout.h"
#include "graph.h"
#include "gvcint.h"
-#include "gvplugin_layout.h"
#include "gvcproc.h"
#include <string.h>
#include "memory.h"
#include "types.h"
#include "gvplugin.h"
+#include "gvcjob.h"
#include "gvcint.h"
#include "gvcproc.h"
#endif
#include "const.h"
-#include "types.h"
-#include "graph.h"
#include "gvplugin_layout.h"
+#include "graph.h"
+#include "gvcint.h"
#include "gvcproc.h"
extern void graph_init(graph_t *g, bool use_rankdir);
#include "types.h"
#include "graph.h"
#include "gvplugin.h"
+#include "gvcjob.h"
#include "gvcint.h"
#include "gvcproc.h"
#ifndef GVDEVICE_PLUGIN_H
#define GVDEVICE_PLUGIN_H
+#include "types.h"
#include "gvplugin.h"
#include "gvcjob.h"
#include "config.h"
#endif
-#include "gvplugin.h"
+#include "gvcext.h"
const lt_symlist_t lt_preloaded_symbols[] = { { 0, 0 } };