Graphviz 2.29.20120208.0545
Data Structures | Defines | Typedefs | Enumerations
lib/common/types.h File Reference
#include <stdio.h>
#include <assert.h>
#include <signal.h>
#include "geom.h"
#include "gvcext.h"
#include "pathgeom.h"
#include "textpara.h"
#include "usershape.h"
#include "graph.h"
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  inside_t
struct  port
struct  splineInfo
struct  pathend_t
struct  path
struct  bezier
struct  splines
struct  textlabel_t
struct  polygon_t
struct  stroke_t
struct  shape_t
struct  shape_functions
struct  shape_desc
struct  nodequeue
struct  adjmatrix_t
struct  rank_t
struct  layout_t
struct  field_t
struct  nlist_t
struct  elist
struct  Agraphinfo_t
struct  Agnodeinfo_t
struct  Agedgeinfo_t
struct  fdpParms_t
struct  gvlayout_features_t

Defines

#define NOT(v)   (!(v))
#define FALSE   0
#define TRUE   NOT(FALSE)
#define STROKE_CLOSED   (1 << 0)
#define STROKE_FILLED   (1 << 1)
#define STROKE_PENDOWN   (1 << 2)
#define STROKE_VERTICES_ALLOCATED   (1 << 3)
#define GUI_STATE_ACTIVE   (1<<0)
#define GUI_STATE_SELECTED   (1<<1)
#define GUI_STATE_VISITED   (1<<2)
#define GUI_STATE_DELETED   (1<<3)
#define elist_fastapp(item, L)   do {L.list[L.size++] = item; L.list[L.size] = NULL;} while(0)
#define elist_append(item, L)   do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0)
#define alloc_elist(n, L)   do {L.size = 0; L.list = N_NEW(n + 1,edge_t*); } while (0)
#define free_list(L)   do {if (L.list) free(L.list);} while (0)
#define GD_alg(g)   (g)->u.alg
#define GD_bb(g)   (g)->u.bb
#define GD_border(g)   (g)->u.border
#define GD_cl_cnt(g)   (g)->u.cl_cnt
#define GD_cleanup(g)   (g)->u.cleanup
#define GD_clust(g)   (g)->u.clust
#define GD_cluster_was_collapsed(g)   (g)->u.cluster_was_collapsed
#define GD_comp(g)   (g)->u.comp
#define GD_dist(g)   (g)->u.dist
#define GD_drawing(g)   (g)->u.drawing
#define GD_exact_ranksep(g)   (g)->u.exact_ranksep
#define GD_expanded(g)   (g)->u.expanded
#define GD_flags(g)   (g)->u.flags
#define GD_gui_state(g)   (g)->u.gui_state
#define GD_gvc(g)   (g)->u.gvc
#define GD_charset(g)   (g)->u.charset
#define GD_has_labels(g)   (g)->u.has_labels
#define GD_has_images(g)   (g)->u.has_images
#define GD_has_flat_edges(g)   (g)->u.has_flat_edges
#define GD_ht1(g)   (g)->u.ht1
#define GD_ht2(g)   (g)->u.ht2
#define GD_inleaf(g)   (g)->u.inleaf
#define GD_installed(g)   (g)->u.installed
#define GD_label(g)   (g)->u.label
#define GD_leader(g)   (g)->u.leader
#define GD_rankdir(g)   ((g)->u.rankdir & 0x3)
#define GD_flip(g)   (GD_rankdir(g) & 1)
#define GD_realrankdir(g)   ((g)->u.rankdir >> 2)
#define GD_realflip(g)   (GD_realrankdir(g) & 1)
#define GD_ln(g)   (g)->u.ln
#define GD_maxrank(g)   (g)->u.maxrank
#define GD_maxset(g)   (g)->u.maxset
#define GD_minrank(g)   (g)->u.minrank
#define GD_minset(g)   (g)->u.minset
#define GD_move(g)   (g)->u.move
#define GD_n_cluster(g)   (g)->u.n_cluster
#define GD_n_nodes(g)   (g)->u.n_nodes
#define GD_ndim(g)   (g)->u.ndim
#define GD_odim(g)   (g)->u.odim
#define GD_neato_nlist(g)   (g)->u.neato_nlist
#define GD_nlist(g)   (g)->u.nlist
#define GD_nodesep(g)   (g)->u.nodesep
#define GD_outleaf(g)   (g)->u.outleaf
#define GD_rank(g)   (g)->u.rank
#define GD_rankleader(g)   (g)->u.rankleader
#define GD_ranksep(g)   (g)->u.ranksep
#define GD_rn(g)   (g)->u.rn
#define GD_set_type(g)   (g)->u.set_type
#define GD_label_pos(g)   (g)->u.label_pos
#define GD_showboxes(g)   (g)->u.showboxes
#define GD_fontnames(g)   (g)->u.fontnames
#define GD_spring(g)   (g)->u.spring
#define GD_sum_t(g)   (g)->u.sum_t
#define GD_t(g)   (g)->u.t
#define ND_UF_parent(n)   (n)->u.UF_parent
#define ND_UF_size(n)   (n)->u.UF_size
#define ND_alg(n)   (n)->u.alg
#define ND_bb(n)   (n)->u.bb
#define ND_clust(n)   (n)->u.clust
#define ND_coord(n)   (n)->u.coord
#define ND_dist(n)   (n)->u.dist
#define ND_flat_in(n)   (n)->u.flat_in
#define ND_flat_out(n)   (n)->u.flat_out
#define ND_gui_state(n)   (n)->u.gui_state
#define ND_has_port(n)   (n)->u.has_port
#define ND_heapindex(n)   (n)->u.heapindex
#define ND_height(n)   (n)->u.height
#define ND_hops(n)   (n)->u.hops
#define ND_ht(n)   (n)->u.ht
#define ND_id(n)   (n)->u.id
#define ND_in(n)   (n)->u.in
#define ND_inleaf(n)   (n)->u.inleaf
#define ND_label(n)   (n)->u.label
#define ND_xlabel(n)   (n)->u.xlabel
#define ND_lim(n)   (n)->u.lim
#define ND_low(n)   (n)->u.low
#define ND_lw(n)   (n)->u.lw
#define ND_mark(n)   (n)->u.mark
#define ND_mval(n)   (n)->u.mval
#define ND_n_cluster(n)   (n)->u.n_cluster
#define ND_next(n)   (n)->u.next
#define ND_node_type(n)   (n)->u.node_type
#define ND_onstack(n)   (n)->u.onstack
#define ND_order(n)   (n)->u.order
#define ND_other(n)   (n)->u.other
#define ND_out(n)   (n)->u.out
#define ND_outleaf(n)   (n)->u.outleaf
#define ND_par(n)   (n)->u.par
#define ND_pinned(n)   (n)->u.pinned
#define ND_pos(n)   (n)->u.pos
#define ND_prev(n)   (n)->u.prev
#define ND_priority(n)   (n)->u.priority
#define ND_rank(n)   (n)->u.rank
#define ND_ranktype(n)   (n)->u.ranktype
#define ND_rw(n)   (n)->u.rw
#define ND_save_in(n)   (n)->u.save_in
#define ND_save_out(n)   (n)->u.save_out
#define ND_shape(n)   (n)->u.shape
#define ND_shape_info(n)   (n)->u.shape_info
#define ND_showboxes(n)   (n)->u.showboxes
#define ND_state(n)   (n)->u.state
#define ND_clustnode(n)   (n)->u.clustnode
#define ND_tree_in(n)   (n)->u.tree_in
#define ND_tree_out(n)   (n)->u.tree_out
#define ND_weight_class(n)   (n)->u.weight_class
#define ND_width(n)   (n)->u.width
#define ND_xsize(n)   (ND_lw(n)+ND_rw(n))
#define ND_ysize(n)   (ND_ht(n))
#define ED_alg(e)   (e)->u.alg
#define ED_conc_opp_flag(e)   (e)->u.conc_opp_flag
#define ED_count(e)   (e)->u.count
#define ED_cutvalue(e)   (e)->u.cutvalue
#define ED_dist(e)   (e)->u.dist
#define ED_edge_type(e)   (e)->u.edge_type
#define ED_adjacent(e)   (e)->u.adjacent
#define ED_factor(e)   (e)->u.factor
#define ED_gui_state(e)   (e)->u.gui_state
#define ED_head_label(e)   (e)->u.head_label
#define ED_head_port(e)   (e)->u.head_port
#define ED_label(e)   (e)->u.label
#define ED_xlabel(e)   (e)->u.xlabel
#define ED_label_ontop(e)   (e)->u.label_ontop
#define ED_minlen(e)   (e)->u.minlen
#define ED_path(e)   (e)->u.path
#define ED_showboxes(e)   (e)->u.showboxes
#define ED_spl(e)   (e)->u.spl
#define ED_tail_label(e)   (e)->u.tail_label
#define ED_tail_port(e)   (e)->u.tail_port
#define ED_to_orig(e)   (e)->u.to_orig
#define ED_to_virt(e)   (e)->u.to_virt
#define ED_tree_index(e)   (e)->u.tree_index
#define ED_weight(e)   (e)->u.weight
#define ED_xpenalty(e)   (e)->u.xpenalty
#define SET_RANKDIR(g, rd)   ((g)->u.rankdir = (rd))
#define ag_xget(x, a)   agxget(x,(a)->index)
#define agnameof(x)   ((x)->name)
#define agraphof(n)   ((n)->graph)
#define agroot(g)   ((g)->root)
#define aghead(e)   ((e)->head)
#define agtail(e)   ((e)->tail)
#define agisdirected(g)   ((g)->kind & AGFLAG_DIRECTED)
#define AGID(x)   ((x)->id)
#define agfindgraphattr(g, a)   agfindattr((g)->root,a)
#define agfindnodeattr(g, a)   agfindattr((g)->proto->n,a)
#define agfindedgeattr(g, a)   agfindattr((g)->proto->e,a)
#define agcanonStr(s)   agcanonical(s)

Typedefs

typedef unsigned char boolean
typedef int(* qsort_cmpf )(const void *, const void *)
typedef int(* bsearch_cmpf )(const void *, const void *)
typedef struct Agraph_t graph_t
typedef struct Agnode_t node_t
typedef struct Agedge_t edge_t
typedef struct Agsym_t attrsym_t
typedef struct htmllabel_t htmllabel_t
typedef union inside_t inside_t
typedef struct port port
typedef struct pathend_t pathend_t
typedef struct path path
typedef struct bezier bezier
typedef struct splines splines
typedef struct textlabel_t textlabel_t
typedef struct polygon_t polygon_t
typedef struct stroke_t stroke_t
typedef struct shape_t shape_t
typedef struct shape_functions shape_functions
typedef struct shape_desc shape_desc
typedef struct nodequeue nodequeue
typedef struct adjmatrix_t adjmatrix_t
typedef struct rank_t rank_t
typedef struct layout_t layout_t
typedef struct field_t field_t
typedef struct nlist_t nlist_t
typedef struct elist elist
typedef struct Agraphinfo_t Agraphinfo_t
typedef struct Agnodeinfo_t Agnodeinfo_t
typedef struct Agedgeinfo_t Agedgeinfo_t

Enumerations

enum  shape_kind {
  SH_UNSET, SH_POLY, SH_RECORD, SH_POINT,
  SH_EPSF
}
enum  ratio_t {
  R_NONE, R_VALUE, R_FILL, R_COMPRESS,
  R_AUTO, R_EXPAND
}
enum  fontname_kind { NATIVEFONTS, PSFONTS, SVGFONTS }

Define Documentation

#define ag_xget (   x,
 
)    agxget(x,(a)->index)

Definition at line 738 of file types.h.

Referenced by emit_clusters(), late_double(), and late_int().

#define agcanonStr (   s)    agcanonical(s)

Definition at line 750 of file types.h.

Referenced by write_plain().

#define agfindedgeattr (   g,
 
)    agfindattr((g)->proto->e,a)

Definition at line 749 of file types.h.

Referenced by graph_init(), and makeMatrix().

#define agfindgraphattr (   g,
 
)    agfindattr((g)->root,a)

Definition at line 747 of file types.h.

Referenced by do_graph_label(), graph_init(), gvplugin_graph(), and init_nop().

#define agfindnodeattr (   g,
 
)    agfindattr((g)->proto->n,a)

Definition at line 748 of file types.h.

Referenced by dotneato_args_initialize(), graph_init(), gvplugin_graph(), and user_pos().

#define aghead (   e)    ((e)->head)
#define AGID (   x)    ((x)->id)

Definition at line 746 of file types.h.

Referenced by circuit_model(), getObjId(), and new_virtual_edge().

#define agisdirected (   g)    ((g)->kind & AGFLAG_DIRECTED)

Definition at line 745 of file types.h.

Referenced by arrow_flags(), and make_label().

#define agnameof (   x)    ((x)->name)
#define agraphof (   n)    ((n)->graph)
#define agroot (   g)    ((g)->root)
#define agtail (   e)    ((e)->tail)
#define alloc_elist (   n,
 
)    do {L.size = 0; L.list = N_NEW(n + 1,edge_t*); } while (0)

Definition at line 267 of file types.h.

Referenced by makeGraphs(), and virtual_node().

#define ED_adjacent (   e)    (e)->u.adjacent

Definition at line 705 of file types.h.

Referenced by flat_edges().

#define ED_alg (   e)    (e)->u.alg

Definition at line 699 of file types.h.

Referenced by circomps().

#define ED_conc_opp_flag (   e)    (e)->u.conc_opp_flag

Definition at line 700 of file types.h.

Referenced by arrow_flags(), and class2().

#define ED_count (   e)    (e)->u.count
#define ED_cutvalue (   e)    (e)->u.cutvalue

Definition at line 702 of file types.h.

#define ED_dist (   e)    (e)->u.dist

Definition at line 703 of file types.h.

Referenced by circuit_model(), flat_edges(), and s1().

#define ED_edge_type (   e)    (e)->u.edge_type
#define ED_factor (   e)    (e)->u.factor

Definition at line 706 of file types.h.

Referenced by diffeq_model().

#define ED_gui_state (   e)    (e)->u.gui_state

Definition at line 707 of file types.h.

#define ED_head_label (   e)    (e)->u.head_label
#define ED_head_port (   e)    (e)->u.head_port
#define ED_label (   e)    (e)->u.label
#define ED_label_ontop (   e)    (e)->u.label_ontop

Definition at line 712 of file types.h.

Referenced by common_init_edge().

#define ED_minlen (   e)    (e)->u.minlen

Definition at line 713 of file types.h.

Referenced by make_aux_edge(), makeGraphs(), new_virtual_edge(), and nonconstraint_edge().

#define ED_path (   e)    (e)->u.path

Definition at line 714 of file types.h.

Referenced by compoundEdges(), gv_cleanup_edge(), makeMultiSpline(), and makeSpline().

#define ED_showboxes (   e)    (e)->u.showboxes

Definition at line 715 of file types.h.

#define ED_spl (   e)    (e)->u.spl
#define ED_tail_label (   e)    (e)->u.tail_label
#define ED_tail_port (   e)    (e)->u.tail_port
#define ED_to_orig (   e)    (e)->u.to_orig
#define ED_to_virt (   e)    (e)->u.to_virt
#define ED_tree_index (   e)    (e)->u.tree_index

Definition at line 721 of file types.h.

#define ED_weight (   e)    (e)->u.weight
#define ED_xlabel (   e)    (e)->u.xlabel

Definition at line 711 of file types.h.

Referenced by attach_attrs_and_arrows(), common_init_edge(), and gv_cleanup_edge().

#define ED_xpenalty (   e)    (e)->u.xpenalty

Definition at line 723 of file types.h.

Referenced by build_skeleton(), merge_chain(), and new_virtual_edge().

#define elist_append (   item,
 
)    do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0)

Definition at line 266 of file types.h.

Referenced by fast_edge(), flat_edge(), flat_rev(), makeGraphs(), and other_edge().

#define elist_fastapp (   item,
 
)    do {L.list[L.size++] = item; L.list[L.size] = NULL;} while(0)

Definition at line 265 of file types.h.

#define FALSE   0

Definition at line 26 of file types.h.

#define free_list (   L)    do {if (L.list) free(L.list);} while (0)

Definition at line 268 of file types.h.

Referenced by dot_sameports().

#define GD_alg (   g)    (g)->u.alg

Definition at line 409 of file types.h.

Referenced by circo_cleanup(), circomps(), fdp_init_graph(), and findCComp().

#define GD_bb (   g)    (g)->u.bb
#define GD_border (   g)    (g)->u.border

Definition at line 411 of file types.h.

Referenced by do_graph_label(), and place_graph_label().

#define GD_charset (   g)    (g)->u.charset

Definition at line 424 of file types.h.

Referenced by graph_init(), make_html_label(), and make_label().

#define GD_cl_cnt (   g)    (g)->u.cl_cnt

Definition at line 412 of file types.h.

#define GD_cleanup (   g)    (g)->u.cleanup

Definition at line 413 of file types.h.

Referenced by gvFreeLayout(), and gvLayoutJobs().

#define GD_clust (   g)    (g)->u.clust
#define GD_cluster_was_collapsed (   g)    (g)->u.cluster_was_collapsed

Definition at line 415 of file types.h.

#define GD_comp (   g)    (g)->u.comp

Definition at line 416 of file types.h.

Referenced by acyclic(), class2(), decompose(), dot_mincross(), expand_cluster(), and rank1().

#define GD_dist (   g)    (g)->u.dist
#define GD_drawing (   g)    (g)->u.drawing
#define GD_exact_ranksep (   g)    (g)->u.exact_ranksep

Definition at line 419 of file types.h.

Referenced by graph_init().

#define GD_expanded (   g)    (g)->u.expanded

Definition at line 420 of file types.h.

#define GD_flags (   g)    (g)->u.flags

Definition at line 421 of file types.h.

Referenced by dot_layout(), dot_rank(), setEdgeType(), and spline_edges0().

#define GD_flip (   g)    (GD_rankdir(g) & 1)
#define GD_fontnames (   g)    (g)->u.fontnames

Definition at line 459 of file types.h.

Referenced by graph_init().

#define GD_gui_state (   g)    (g)->u.gui_state

Definition at line 422 of file types.h.

Referenced by emit_clusters().

#define GD_gvc (   g)    (g)->u.gvc

Definition at line 423 of file types.h.

Referenced by gvLayoutJobs(), and textsize().

#define GD_has_flat_edges (   g)    (g)->u.has_flat_edges

Definition at line 427 of file types.h.

Referenced by flat_edge().

#define GD_has_images (   g)    (g)->u.has_images

Definition at line 426 of file types.h.

#define GD_has_labels (   g)    (g)->u.has_labels
#define GD_ht1 (   g)    (g)->u.ht1

Definition at line 428 of file types.h.

#define GD_ht2 (   g)    (g)->u.ht2

Definition at line 429 of file types.h.

#define GD_inleaf (   g)    (g)->u.inleaf

Definition at line 430 of file types.h.

#define GD_installed (   g)    (g)->u.installed

Definition at line 431 of file types.h.

Referenced by install_cluster().

#define GD_label (   g)    (g)->u.label
#define GD_label_pos (   g)    (g)->u.label_pos

Definition at line 457 of file types.h.

Referenced by do_graph_label(), gv_postprocess(), and place_graph_label().

#define GD_leader (   g)    (g)->u.leader

Definition at line 433 of file types.h.

Referenced by dot_scan_ranks(), mark_clusters(), and nonconstraint_edge().

#define GD_ln (   g)    (g)->u.ln

Definition at line 438 of file types.h.

#define GD_maxrank (   g)    (g)->u.maxrank
#define GD_maxset (   g)    (g)->u.maxset

Definition at line 440 of file types.h.

#define GD_minrank (   g)    (g)->u.minrank
#define GD_minset (   g)    (g)->u.minset

Definition at line 442 of file types.h.

#define GD_move (   g)    (g)->u.move

Definition at line 443 of file types.h.

Referenced by choose_node(), final_energy(), move_node(), and solve_model().

#define GD_n_cluster (   g)    (g)->u.n_cluster
#define GD_n_nodes (   g)    (g)->u.n_nodes

Definition at line 445 of file types.h.

Referenced by build_ranks(), class2(), decompose(), and virtual_node().

#define GD_ndim (   g)    (g)->u.ndim

Definition at line 446 of file types.h.

Referenced by circo_init_graph(), fdp_init_graph(), neato_init_node(), and twopi_init_graph().

#define GD_neato_nlist (   g)    (g)->u.neato_nlist
#define GD_nlist (   g)    (g)->u.nlist
#define GD_nodesep (   g)    (g)->u.nodesep

Definition at line 450 of file types.h.

Referenced by compoundEdges(), graph_init(), and makeStraightEdge().

#define GD_odim (   g)    (g)->u.odim

Definition at line 447 of file types.h.

Referenced by attach_attrs_and_arrows().

#define GD_outleaf (   g)    (g)->u.outleaf

Definition at line 451 of file types.h.

#define GD_rank (   g)    (g)->u.rank
#define GD_rankdir (   g)    ((g)->u.rankdir & 0x3)

Definition at line 434 of file types.h.

Referenced by gv_postprocess(), and html_path().

#define GD_rankleader (   g)    (g)->u.rankleader

Definition at line 453 of file types.h.

Referenced by build_skeleton(), decompose(), install_cluster(), rec_reset_vlists(), and save_vlist().

#define GD_ranksep (   g)    (g)->u.ranksep

Definition at line 454 of file types.h.

Referenced by beginpath(), endpath(), and graph_init().

#define GD_realflip (   g)    (GD_realrankdir(g) & 1)

Definition at line 437 of file types.h.

#define GD_realrankdir (   g)    ((g)->u.rankdir >> 2)

Definition at line 436 of file types.h.

#define GD_rn (   g)    (g)->u.rn

Definition at line 455 of file types.h.

#define GD_set_type (   g)    (g)->u.set_type

Definition at line 456 of file types.h.

#define GD_showboxes (   g)    (g)->u.showboxes

Definition at line 458 of file types.h.

Referenced by graph_init().

#define GD_spring (   g)    (g)->u.spring

Definition at line 460 of file types.h.

Referenced by D2E(), diffeq_model(), free_scan_graph(), scan_graph_mode(), and update_arrays().

#define GD_sum_t (   g)    (g)->u.sum_t
#define GD_t (   g)    (g)->u.t

Definition at line 462 of file types.h.

Referenced by diffeq_model(), free_scan_graph(), scan_graph_mode(), and update_arrays().

#define GUI_STATE_ACTIVE   (1<<0)

Definition at line 260 of file types.h.

#define GUI_STATE_DELETED   (1<<3)

Definition at line 263 of file types.h.

#define GUI_STATE_SELECTED   (1<<1)

Definition at line 261 of file types.h.

#define GUI_STATE_VISITED   (1<<2)

Definition at line 262 of file types.h.

#define ND_alg (   n)    (n)->u.alg

Definition at line 585 of file types.h.

Referenced by circo_layout(), fdp_layout(), and twopi_layout().

#define ND_bb (   n)    (n)->u.bb

Definition at line 586 of file types.h.

Referenced by overlap_node().

#define ND_clust (   n)    (n)->u.clust
#define ND_clustnode (   n)    (n)->u.clustnode

Definition at line 630 of file types.h.

#define ND_coord (   n)    (n)->u.coord
#define ND_dist (   n)    (n)->u.dist

Definition at line 589 of file types.h.

Referenced by heapdown(), heapup(), and s1().

#define ND_flat_in (   n)    (n)->u.flat_in

Definition at line 590 of file types.h.

Referenced by delete_flat_edge(), find_flat_edge(), flat_edge(), and flat_edges().

#define ND_flat_out (   n)    (n)->u.flat_out

Definition at line 591 of file types.h.

Referenced by delete_flat_edge(), find_flat_edge(), flat_edge(), flat_edges(), and flat_rev().

#define ND_gui_state (   n)    (n)->u.gui_state

Definition at line 592 of file types.h.

#define ND_has_port (   n)    (n)->u.has_port

Definition at line 593 of file types.h.

Referenced by common_init_edge().

#define ND_heapindex (   n)    (n)->u.heapindex

Definition at line 594 of file types.h.

Referenced by heapdown(), heapup(), neato_dequeue(), neato_enqueue(), s1(), and scan_graph_mode().

#define ND_height (   n)    (n)->u.height
#define ND_hops (   n)    (n)->u.hops

Definition at line 596 of file types.h.

Referenced by s1().

#define ND_ht (   n)    (n)->u.ht
#define ND_id (   n)    (n)->u.id
#define ND_in (   n)    (n)->u.in
#define ND_inleaf (   n)    (n)->u.inleaf

Definition at line 600 of file types.h.

#define ND_label (   n)    (n)->u.label

Definition at line 601 of file types.h.

Referenced by common_init_node(), gv_cleanup_node(), html_port(), and write_plain().

#define ND_lim (   n)    (n)->u.lim

Definition at line 603 of file types.h.

Referenced by getPath().

#define ND_low (   n)    (n)->u.low

Definition at line 604 of file types.h.

#define ND_lw (   n)    (n)->u.lw
#define ND_mark (   n)    (n)->u.mark

Definition at line 606 of file types.h.

Referenced by acyclic(), and decompose().

#define ND_mval (   n)    (n)->u.mval

Definition at line 607 of file types.h.

#define ND_n_cluster (   n)    (n)->u.n_cluster

Definition at line 608 of file types.h.

#define ND_next (   n)    (n)->u.next
#define ND_node_type (   n)    (n)->u.node_type
#define ND_onstack (   n)    (n)->u.onstack

Definition at line 611 of file types.h.

#define ND_order (   n)    (n)->u.order

Definition at line 612 of file types.h.

Referenced by clip_and_install(), install_in_rank(), and rec_reset_vlists().

#define ND_other (   n)    (n)->u.other

Definition at line 613 of file types.h.

Referenced by flat_edges(), flat_rev(), other_edge(), and safe_other_edge().

#define ND_out (   n)    (n)->u.out
#define ND_outleaf (   n)    (n)->u.outleaf

Definition at line 615 of file types.h.

#define ND_par (   n)    (n)->u.par

Definition at line 616 of file types.h.

#define ND_pinned (   n)    (n)->u.pinned

Definition at line 617 of file types.h.

Referenced by choose_node(), findCComp(), and user_pos().

#define ND_pos (   n)    (n)->u.pos
#define ND_prev (   n)    (n)->u.prev

Definition at line 619 of file types.h.

Referenced by delete_fast_node(), fast_node(), and fast_nodeapp().

#define ND_priority (   n)    (n)->u.priority

Definition at line 620 of file types.h.

#define ND_rank (   n)    (n)->u.rank
#define ND_ranktype (   n)    (n)->u.ranktype

Definition at line 622 of file types.h.

Referenced by build_ranks(), build_skeleton(), mark_clusters(), and UF_singleton().

#define ND_rw (   n)    (n)->u.rw
#define ND_save_in (   n)    (n)->u.save_in

Definition at line 624 of file types.h.

#define ND_save_out (   n)    (n)->u.save_out

Definition at line 625 of file types.h.

#define ND_shape (   n)    (n)->u.shape
#define ND_shape_info (   n)    (n)->u.shape_info
#define ND_showboxes (   n)    (n)->u.showboxes

Definition at line 628 of file types.h.

Referenced by common_init_node().

#define ND_state (   n)    (n)->u.state

Definition at line 629 of file types.h.

Referenced by emit_graph().

#define ND_tree_in (   n)    (n)->u.tree_in

Definition at line 631 of file types.h.

#define ND_tree_out (   n)    (n)->u.tree_out

Definition at line 632 of file types.h.

#define ND_UF_parent (   n)    (n)->u.UF_parent

Definition at line 583 of file types.h.

Referenced by UF_find(), UF_remove(), UF_setname(), UF_singleton(), and UF_union().

#define ND_UF_size (   n)    (n)->u.UF_size
#define ND_weight_class (   n)    (n)->u.weight_class

Definition at line 633 of file types.h.

Referenced by class2().

#define ND_width (   n)    (n)->u.width
#define ND_xlabel (   n)    (n)->u.xlabel

Definition at line 602 of file types.h.

Referenced by attach_attrs_and_arrows(), common_init_node(), gv_cleanup_node(), and init_nop().

#define ND_xsize (   n)    (ND_lw(n)+ND_rw(n))

Definition at line 635 of file types.h.

Referenced by compute_bb().

#define ND_ysize (   n)    (ND_ht(n))

Definition at line 636 of file types.h.

Referenced by compute_bb().

#define NOT (   v)    (!(v))

Definition at line 23 of file types.h.

#define SET_RANKDIR (   g,
  rd 
)    ((g)->u.rankdir = (rd))

Definition at line 737 of file types.h.

Referenced by graph_init().

#define STROKE_CLOSED   (1 << 0)

Definition at line 165 of file types.h.

#define STROKE_FILLED   (1 << 1)

Definition at line 166 of file types.h.

#define STROKE_PENDOWN   (1 << 2)

Definition at line 167 of file types.h.

#define STROKE_VERTICES_ALLOCATED   (1 << 3)

Definition at line 168 of file types.h.

#define TRUE   NOT(FALSE)

Definition at line 29 of file types.h.


Typedef Documentation

typedef struct adjmatrix_t adjmatrix_t
typedef struct Agedgeinfo_t Agedgeinfo_t
typedef struct Agnodeinfo_t Agnodeinfo_t
typedef struct Agraphinfo_t Agraphinfo_t
typedef struct Agsym_t attrsym_t

Definition at line 56 of file types.h.

typedef struct bezier bezier
typedef unsigned char boolean

Definition at line 21 of file types.h.

typedef int(* bsearch_cmpf)(const void *, const void *)

Definition at line 42 of file types.h.

typedef struct Agedge_t edge_t

Definition at line 55 of file types.h.

typedef struct elist elist
typedef struct field_t field_t
typedef struct Agraph_t graph_t

Definition at line 53 of file types.h.

typedef struct htmllabel_t htmllabel_t

Definition at line 59 of file types.h.

typedef union inside_t inside_t
typedef struct layout_t layout_t
typedef struct nlist_t nlist_t
typedef struct Agnode_t node_t

Definition at line 54 of file types.h.

typedef struct nodequeue nodequeue
typedef struct path path
typedef struct pathend_t pathend_t
typedef struct polygon_t polygon_t
typedef struct port port
typedef int(* qsort_cmpf)(const void *, const void *)

Definition at line 41 of file types.h.

typedef struct rank_t rank_t
typedef struct shape_desc shape_desc
typedef struct shape_t shape_t
typedef struct splines splines
typedef struct stroke_t stroke_t
typedef struct textlabel_t textlabel_t

Enumeration Type Documentation

Enumerator:
NATIVEFONTS 
PSFONTS 
SVGFONTS 

Definition at line 270 of file types.h.

enum ratio_t
Enumerator:
R_NONE 
R_VALUE 
R_FILL 
R_COMPRESS 
R_AUTO 
R_EXPAND 

Definition at line 219 of file types.h.

enum shape_kind
Enumerator:
SH_UNSET 
SH_POLY 
SH_RECORD 
SH_POINT 
SH_EPSF 

Definition at line 186 of file types.h.