#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "macros.h"
#include "const.h"
#include "gvplugin_render.h"
#include "graph.h"
#include "agxbuf.h"
#include "utils.h"
Include dependency graph for gvrender_core_dot.c:
Go to the source code of this file.
#define GNEW | ( | t | ) | (t*)malloc(sizeof(t)) |
Definition at line 44 of file gvrender_core_dot.c.
#define NUMXBUFS (EMIT_HLABEL+1) |
Definition at line 57 of file gvrender_core_dot.c.
#define XDOTVERSION "1.2" |
Definition at line 55 of file gvrender_core_dot.c.
enum format_type |
Definition at line 46 of file gvrender_core_dot.c.
void attach_attrs | ( | graph_t * | g | ) |
void attach_attrs_and_arrows | ( | graph_t * | , | |
int * | , | |||
int * | ||||
) |
Definition at line 168 of file output.c.
References agedgeattr(), agfstnode(), agfstout(), agget(), agnodeattr(), agnxtnode(), agnxtout(), agraphattr(), agset(), agxbfree(), agxbinit(), agxbpop(), agxbput(), agxbputc, agxbuse, agxset(), Agproto_t::e, ED_edge_type, ED_head_label, ED_label, ED_spl, ED_tail_label, EDGE_LABEL, GD_has_labels, GD_label, GVSPLINES, HAS_CLUST_EDGE, HEAD_LABEL, IGNORED, Agsym_t::index, isPolygon(), M_PI, Agproto_t::n, N_height, N_vertices, N_width, ND_coord_i, ND_height, ND_ht_i, ND_lw_i, ND_rw_i, ND_shape, ND_shape_info, ND_width, NULL, Agraph_t::proto, safe_dcl(), polygon_t::sides, State, TAIL_LABEL, undoClusterEdges(), polygon_t::vertices, pointf_s::x, point::x, pointf_s::y, point::y, YDIR, and YFDIR.
Referenced by attach_attrs().
void core_loadimage_xdot | ( | GVJ_t * | job, | |
usershape_t * | us, | |||
boxf | b, | |||
boolean | filled | |||
) |
Definition at line 402 of file gvrender_core_dot.c.
References agxbput(), obj_state_s::emit_state, boxf::LL, usershape_s::name, GVJ_s::obj, output_point(), ROUND, boxf::UR, pointf_s::x, and pointf_s::y.
Definition at line 314 of file output.c.
References agxbput(), ROUND, pointf_s::x, pointf_s::y, and YDIR.
Referenced by core_loadimage_xdot().
Definition at line 64 of file output.c.
References agcanonical(), agfstnode(), agfstout(), agnxtnode(), agnxtout(), agxget(), Agedge_t::attr, DEFAULT_COLOR, DEFAULT_FILL, E_color, E_style, ED_label, ED_spl, GD_bb, Agedge_t::head, HEADX, Agsym_t::index, IS_CLUST_NODE, late_nnstring(), lbl, bezier::list, N_color, N_fillcolor, N_label, N_style, ND_coord_i, ND_height, ND_label, ND_shape, ND_width, bezier::size, Agedge_t::tail, TAILX, point::x, point::y, and GVJ_s::zoom.
Initial value:
{ LAYOUT_NOT_REQUIRED, {0.,0.}, {0.,0.}, {72.,72.}, }
Definition at line 492 of file gvrender_core_dot.c.
Initial value:
{ 0, {0.,0.}, {0.,0.}, {72.,72.}, }
Definition at line 499 of file gvrender_core_dot.c.
Initial value:
{ 0, 0, dot_begin_graph, dot_end_graph, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }
Definition at line 414 of file gvrender_core_dot.c.
Initial value:
{ {FORMAT_DOT, "dot:dot", 1, NULL, &device_features_dot}, {FORMAT_CANON, "canon:dot", 1, NULL, &device_features_canon}, {FORMAT_PLAIN, "plain:dot", 1, NULL, &device_features_dot}, {FORMAT_PLAIN_EXT, "plain-ext:dot", 1, NULL, &device_features_dot}, {FORMAT_XDOT, "xdot:xdot", 1, NULL, &device_features_dot}, {0, NULL, 0, NULL, NULL} }
Definition at line 512 of file gvrender_core_dot.c.
Initial value:
{ {FORMAT_DOT, "dot", 1, &dot_engine, &render_features_dot}, {FORMAT_XDOT, "xdot", 1, &xdot_engine, &render_features_xdot}, {0, NULL, 0, NULL, NULL} }
Definition at line 506 of file gvrender_core_dot.c.
Initial value:
{ GVRENDER_DOES_TRANSFORM, 0., NULL, 0, COLOR_STRING, }
Definition at line 476 of file gvrender_core_dot.c.
Initial value:
{ GVRENDER_DOES_TRANSFORM, 0., NULL, 0, COLOR_STRING, }
Definition at line 484 of file gvrender_core_dot.c.
Initial value:
{ 0, 0, dot_begin_graph, dot_end_graph, 0, 0, 0, 0, 0, xdot_end_cluster, 0, 0, 0, 0, 0, xdot_end_node, 0, xdot_end_edge, 0, 0, xdot_textpara, 0, xdot_ellipse, xdot_polygon, xdot_bezier, xdot_polyline, 0, 0, }
Definition at line 445 of file gvrender_core_dot.c.