} shape_desc;
#ifndef DISABLE_CODEGENS
- typedef struct codegen_s codegen_t;
- typedef struct codegen_info_s codegen_info_t;
-
struct codegen_s {
void (*reset) (void);
void (*begin_job) (FILE * ofp, graph_t * g, char **lib, char *user,
extern "C" {
#endif
+#ifndef DISABLE_CODEGENS
+ typedef struct codegen_s codegen_t;
+ typedef struct codegen_info_s codegen_info_t;
+#endif
+
typedef struct GVJ_s GVJ_t;
typedef struct GVC_s GVC_t;
#include "gvcjob.h"
-#define ARRAY_SIZE(A) (sizeof(A)/sizeof(A[0]))
-
typedef struct {
int flags;
} gvlayout_features_t;
extern "C" {
#endif
-#include "types.h"
+#include "geom.h"
+#include "color.h"
+#include "gvcext.h"
#define ARRAY_SIZE(A) (sizeof(A)/sizeof(A[0]))
* AT&T Research, Florham Park NJ *
**********************************************************/
-#include "render.h"
-#include "gvcjob.h"
+#include "gvplugin.h"
+#include "types.h"
+#include "graph.h"
#include "gvcint.h"
#include "gvcproc.h"
+#include <string.h>
+extern char *strdup_and_subst_graph(char *str, Agraph_t * g);
+extern char *strdup_and_subst_edge(char *str, Agedge_t * e);
+extern char *strdup_and_subst_node(char *str, Agnode_t * n);
+extern void emit_graph(GVJ_t * job, graph_t * g);
+extern bool overlap_edge(edge_t *e, boxf b);
+extern bool overlap_node(node_t *n, boxf b);
+
#define PANFACTOR 10
#define ZOOMFACTOR 1.1
#define EPSILON .0001
#include "config.h"
#endif
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "geom.h"
#include "memory.h"
-
#include "types.h"
-
#include "gvplugin.h"
#include "gvcint.h"
#include "gvcproc.h"
#include <stdio.h>
-#include "geom.h"
-
#include "const.h"
#include "types.h"
#include "graph.h"
-#include "cdt.h"
#include "gvplugin_layout.h"
-#include "gvcint.h"
#include "gvcproc.h"
extern void graph_init(graph_t *g, bool use_rankdir);
#ifndef GVPLUGIN_H
#define GVPLUGIN_H
-#include "gvcext.h"
-
#ifdef __cplusplus
extern "C" {
#endif
+#include "gvcext.h"
+
#ifndef NULL
#define NULL (void *)0
#endif
#define GVLAYOUT_PLUGIN_H
#include "gvplugin.h"
-#include "geom.h"
-#include "color.h"
#include "gvcint.h"
#ifdef __cplusplus
#define GVTEXTLAYOUT_PLUGIN_H
#include "gvplugin.h"
-#include "geom.h"
-#include "color.h"
#include "gvcint.h"
#ifdef __cplusplus
#define GVUSERSHAPE_PLUGIN_H
#include "gvplugin.h"
-#include "geom.h"
-#include "color.h"
#include "gvcint.h"
#ifdef __cplusplus
#include <stdio.h>
-#include "geom.h"
-
#include "const.h"
#include "types.h"
#include "gvplugin_textlayout.h"
-#include "gvcint.h"
#include "gvcproc.h"
int gvtextlayout_select(GVC_t * gvc, char *textlayout)
#include <stdio.h>
-#include "geom.h"
-
#include "macros.h"
#include "const.h"
#include "types.h"
#include "graph.h"
#include "gvplugin_usershape.h"
-#include "gvcint.h"
#include "gvcproc.h"
extern point gd_image_size(graph_t * g, char *shapeimagefile);