/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/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 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  bezierf
struct  splinesf
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_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_i(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_i(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_lim(n)   (n)->u.lim
#define ND_low(n)   (n)->u.low
#define ND_lw_i(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_i(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)   (n)->u.xsize
#define ND_ysize(n)   (n)->u.ysize
#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_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

Typedefs

typedef unsigned char boolean
typedef int(*) qsort_cmpf (const void *, const void *)
typedef int(*) bsearch_cmpf (const void *, const void *)
typedef Agraph_t graph_t
typedef Agnode_t node_t
typedef Agedge_t edge_t
typedef Agsym_t attrsym_t
typedef htmllabel_t htmllabel_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 alloc_elist ( n,
 )     do {L.size = 0; L.list = N_NEW(n + 1,edge_t*); } while (0)

Definition at line 317 of file types.h.

Referenced by makeGraphs(), and virtual_node().

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

Definition at line 575 of file types.h.

Referenced by flat_edges().

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

Definition at line 569 of file types.h.

Referenced by circomps().

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

Definition at line 570 of file types.h.

Referenced by class2().

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

Definition at line 571 of file types.h.

Referenced by build_skeleton(), compoundEdges(), makeSelfArcs(), merge_chain(), new_virtual_edge(), splineEdges(), and unmerge_oneway().

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

Definition at line 572 of file types.h.

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

Definition at line 573 of file types.h.

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

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

Definition at line 574 of file types.h.

Referenced by attach_attrs_and_arrows(), beginpath(), class2(), clip_and_install(), endpath(), getsplinepoints(), new_spline(), new_virtual_edge(), place_portlabel(), and unmerge_oneway().

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

Definition at line 576 of file types.h.

Referenced by diffeq_model(), and neato_init_edge().

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

Definition at line 577 of file types.h.

#define ED_head_label (  )     (e)->u.head_label

Definition at line 578 of file types.h.

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

#define ED_head_port (  )     (e)->u.head_port

Definition at line 579 of file types.h.

Referenced by beginpath(), clip_and_install(), common_init_edge(), endpath(), getPath(), html_path(), makeSelfEdge(), new_virtual_edge(), ports_eq(), and selfRightSpace().

#define ED_label (  )     (e)->u.label

Definition at line 580 of file types.h.

Referenced by attach_attrs_and_arrows(), class2(), common_init_edge(), compute_bb(), flat_edges(), makeSelfArcs(), makeSelfEdge(), mergeable(), neato_cleanup_edge(), overlap_edge(), selfRightSpace(), and write_plain().

#define ED_label_ontop (  )     (e)->u.label_ontop

Definition at line 581 of file types.h.

Referenced by common_init_edge().

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

Definition at line 582 of file types.h.

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

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

Definition at line 583 of file types.h.

Referenced by compoundEdges(), and makeSpline().

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

Definition at line 584 of file types.h.

#define ED_spl (  )     (e)->u.spl

Definition at line 585 of file types.h.

Referenced by attach_attrs_and_arrows(), compute_bb(), getsplinepoints(), main(), neato_free_splines(), new_spline(), overlap_edge(), and write_plain().

#define ED_tail_label (  )     (e)->u.tail_label

Definition at line 586 of file types.h.

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

#define ED_tail_port (  )     (e)->u.tail_port

Definition at line 587 of file types.h.

Referenced by beginpath(), clip_and_install(), common_init_edge(), endpath(), getPath(), html_path(), makeSelfEdge(), new_virtual_edge(), ports_eq(), and selfRightSpace().

#define ED_to_orig (  )     (e)->u.to_orig

Definition at line 588 of file types.h.

Referenced by beginpath(), clip_and_install(), delete_flat_edge(), endpath(), getsplinepoints(), new_spline(), and new_virtual_edge().

#define ED_to_virt (  )     (e)->u.to_virt

Definition at line 589 of file types.h.

Referenced by class1(), class2(), compoundEdges(), delete_flat_edge(), flat_edges(), interclexp(), makeSelfArcs(), mark_clusters(), mark_lowclusters(), merge_chain(), merge_oneway(), new_virtual_edge(), splineEdges(), and unmerge_oneway().

#define ED_tree_index (  )     (e)->u.tree_index

Definition at line 590 of file types.h.

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

Definition at line 591 of file types.h.

Referenced by make_aux_edge(), merge_chain(), new_virtual_edge(), and virtual_weight().

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

Definition at line 592 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 316 of file types.h.

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

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

Definition at line 315 of file types.h.

#define FALSE   0

Definition at line 29 of file types.h.

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

Definition at line 318 of file types.h.

Referenced by dot_sameports().

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

Definition at line 381 of file types.h.

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

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

Definition at line 382 of file types.h.

Referenced by compute_bb(), dotneato_postprocess(), emit_clusters(), gvLayout(), init_nop(), packSubgraphs(), place_graph_label(), putGraphs(), spline_edges(), translate_bb(), update_bb(), updateBB(), and write_plain().

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

Definition at line 383 of file types.h.

Referenced by do_graph_label(), and place_graph_label().

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

Definition at line 396 of file types.h.

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

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

Definition at line 384 of file types.h.

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

Definition at line 385 of file types.h.

Referenced by gvFreeLayout(), and gvLayoutJobs().

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

Definition at line 386 of file types.h.

Referenced by class2(), compute_bb(), dot_concentrate(), dot_mincross(), emit_clusters(), expand_ranksets(), mark_clusters(), packSubgraphs(), place_graph_label(), rec_reset_vlists(), rec_save_vlists(), and translate_bb().

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

Definition at line 387 of file types.h.

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

Definition at line 388 of file types.h.

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

#define GD_dist (  )     (g)->u.dist

Definition at line 389 of file types.h.

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

#define GD_drawing (  )     (g)->u.drawing

Definition at line 390 of file types.h.

Referenced by graph_cleanup(), graph_init(), gvFreeLayout(), gvLayout(), gvLayoutJobs(), gvRender(), gvRenderData(), gvRenderFilename(), gvRenderJobs(), and gvusershape_size().

#define GD_exact_ranksep (  )     (g)->u.exact_ranksep

Definition at line 391 of file types.h.

Referenced by graph_init().

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

Definition at line 392 of file types.h.

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

Definition at line 393 of file types.h.

Referenced by setEdgeType(), and spline_edges0().

#define GD_flip (  )     (GD_rankdir(g) & 1)

Definition at line 407 of file types.h.

Referenced by build_ranks(), compute_bb(), do_graph_label(), dotneato_postprocess(), flat_edges(), makeSelfEdge(), neato_init_node(), selfRightSpace(), and updateBB().

#define GD_fontnames (  )     (g)->u.fontnames

Definition at line 430 of file types.h.

Referenced by graph_init().

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

Definition at line 394 of file types.h.

Referenced by emit_clusters().

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

Definition at line 395 of file types.h.

Referenced by gvLayoutJobs().

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

Definition at line 399 of file types.h.

Referenced by flat_edge().

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

Definition at line 398 of file types.h.

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

Definition at line 397 of file types.h.

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

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

Definition at line 400 of file types.h.

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

Definition at line 401 of file types.h.

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

Definition at line 402 of file types.h.

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

Definition at line 403 of file types.h.

Referenced by install_cluster().

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

Definition at line 404 of file types.h.

Referenced by attach_attrs_and_arrows(), do_graph_label(), dotneato_postprocess(), emit_clusters(), graph_cleanup(), place_graph_label(), and translate_bb().

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

Definition at line 428 of file types.h.

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

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

Definition at line 405 of file types.h.

Referenced by dot_scan_ranks(), and mark_clusters().

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

Definition at line 410 of file types.h.

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

Definition at line 411 of file types.h.

Referenced by allocate_ranks(), build_ranks(), build_skeleton(), dot_concentrate(), dot_scan_ranks(), expand_ranksets(), install_cluster(), install_in_rank(), ncross(), rec_reset_vlists(), and save_vlist().

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

Definition at line 412 of file types.h.

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

Definition at line 413 of file types.h.

Referenced by allocate_ranks(), build_ranks(), build_skeleton(), dot_concentrate(), dot_scan_ranks(), expand_ranksets(), install_cluster(), install_in_rank(), ncross(), rec_reset_vlists(), and save_vlist().

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

Definition at line 414 of file types.h.

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

Definition at line 415 of file types.h.

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

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

Definition at line 416 of file types.h.

Referenced by class2(), compute_bb(), dot_concentrate(), dot_mincross(), emit_clusters(), expand_ranksets(), flat_edges(), mark_clusters(), packSubgraphs(), place_graph_label(), rec_reset_vlists(), rec_save_vlists(), and translate_bb().

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

Definition at line 417 of file types.h.

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

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

Definition at line 418 of file types.h.

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

#define GD_neato_nlist (  )     (g)->u.neato_nlist

Definition at line 419 of file types.h.

Referenced by choose_node(), circo_cleanup(), D2E(), diffeq_model(), fdp_init_node_edge(), free_scan_graph(), init_nop(), initial_positions(), s1(), scan_graph_mode(), and update_arrays().

#define GD_nlist (  )     (g)->u.nlist

Definition at line 420 of file types.h.

Referenced by acyclic(), build_ranks(), class2(), delete_fast_node(), dot_cleanup(), dot_position(), expand_cluster(), fast_node(), flat_edges(), install_in_rank(), makeGraphs(), and setSizes().

#define GD_nodesep (  )     (g)->u.nodesep

Definition at line 421 of file types.h.

Referenced by compoundEdges(), and graph_init().

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

Definition at line 422 of file types.h.

#define GD_rank (  )     (g)->u.rank

Definition at line 423 of file types.h.

Referenced by allocate_ranks(), build_ranks(), dot_concentrate(), flat_edges(), install_in_rank(), ncross(), rec_reset_vlists(), and save_vlist().

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

Definition at line 406 of file types.h.

Referenced by dotneato_postprocess(), and html_path().

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

Definition at line 424 of file types.h.

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

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

Definition at line 425 of file types.h.

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

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

Definition at line 409 of file types.h.

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

Definition at line 408 of file types.h.

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

Definition at line 426 of file types.h.

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

Definition at line 427 of file types.h.

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

Definition at line 429 of file types.h.

Referenced by graph_init().

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

Definition at line 431 of file types.h.

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

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

Definition at line 432 of file types.h.

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

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

Definition at line 433 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 310 of file types.h.

#define GUI_STATE_DELETED   (1<<3)

Definition at line 313 of file types.h.

#define GUI_STATE_SELECTED   (1<<1)

Definition at line 311 of file types.h.

#define GUI_STATE_VISITED   (1<<2)

Definition at line 312 of file types.h.

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

Definition at line 488 of file types.h.

Referenced by circo_layout(), circomps(), fdp_cleanup(), fdp_init_node_edge(), and twopi_layout().

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

Definition at line 489 of file types.h.

Referenced by overlap_node().

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

Definition at line 490 of file types.h.

Referenced by build_skeleton(), class1(), class2(), decompose(), install_cluster(), layout(), makePoly(), mark_clusters(), and mark_lowclusters().

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

Definition at line 532 of file types.h.

#define ND_coord_i (  )     (n)->u.coord

Definition at line 491 of file types.h.

Referenced by attach_attrs_and_arrows(), beginpath(), box_connection(), clip_and_install(), endpath(), getPath(), init_nop(), main(), makeObstacle(), makeSelfEdge(), neato_set_aspect(), overlap_node(), shape_clip(), and write_plain().

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

Definition at line 492 of file types.h.

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

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

Definition at line 493 of file types.h.

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

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

Definition at line 494 of file types.h.

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

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

Definition at line 495 of file types.h.

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

Definition at line 496 of file types.h.

Referenced by common_init_edge().

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

Definition at line 497 of file types.h.

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

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

Definition at line 498 of file types.h.

Referenced by attach_attrs_and_arrows(), box_connection(), common_init_node(), dot_nodesize(), epsf_init(), layout(), makePoly(), neato_nodesize(), scAdjust(), and write_plain().

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

Definition at line 499 of file types.h.

Referenced by s1().

#define ND_ht_i (  )     (n)->u.ht

Definition at line 500 of file types.h.

Referenced by attach_attrs_and_arrows(), beginpath(), box_connection(), dot_nodesize(), endpath(), makeObstacle(), makeSelfEdge(), neato_nodesize(), and virtual_node().

#define ND_id (  )     (n)->u.id

Definition at line 501 of file types.h.

Referenced by circuit_model(), fdp_init_node_edge(), make_spring(), move_node(), and scan_graph_mode().

#define ND_in (  )     (n)->u.in

Definition at line 502 of file types.h.

Referenced by build_ranks(), delete_fast_edge(), enqueue_neighbors(), fast_edge(), find_fast_edge(), makeGraphs(), and virtual_node().

#define ND_inleaf (  )     (n)->u.inleaf

Definition at line 503 of file types.h.

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

Definition at line 504 of file types.h.

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

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

Definition at line 505 of file types.h.

Referenced by getPath().

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

Definition at line 506 of file types.h.

#define ND_lw_i (  )     (n)->u.lw

Definition at line 507 of file types.h.

Referenced by attach_attrs_and_arrows(), beginpath(), box_connection(), dot_nodesize(), endpath(), makeObstacle(), makeSelfEdge(), neato_nodesize(), and virtual_node().

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

Definition at line 508 of file types.h.

Referenced by acyclic(), and decompose().

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

Definition at line 509 of file types.h.

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

Definition at line 510 of file types.h.

#define ND_next (  )     (n)->u.next

Definition at line 511 of file types.h.

Referenced by acyclic(), build_ranks(), delete_fast_node(), fast_node(), fast_nodeapp(), firstDeglist(), flat_edges(), insertDeglist(), install_in_rank(), makeGraphs(), removeDeglist(), and setSizes().

#define ND_node_type (  )     (n)->u.node_type

Definition at line 512 of file types.h.

Referenced by beginpath(), endpath(), unmerge_oneway(), and virtual_node().

#define ND_onstack (  )     (n)->u.onstack

Definition at line 513 of file types.h.

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

Definition at line 514 of file types.h.

Referenced by install_in_rank(), and rec_reset_vlists().

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

Definition at line 515 of file types.h.

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

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

Definition at line 516 of file types.h.

Referenced by build_ranks(), build_skeleton(), delete_fast_edge(), enqueue_neighbors(), fast_edge(), find_fast_edge(), makeGraphs(), mark_clusters(), mark_lowclusters(), merge_chain(), unmerge_oneway(), and virtual_node().

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

Definition at line 517 of file types.h.

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

Definition at line 518 of file types.h.

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

Definition at line 519 of file types.h.

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

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

Definition at line 520 of file types.h.

Referenced by cAdjust(), circleLayout(), circularLayout(), coord(), D2E(), diffeq_model(), dumpstat(), fdp_tLayout(), init_nop(), initLayout(), jitter_d(), layout(), layout_block(), main(), move_node(), neato_cleanup_node(), neato_init_node(), neato_set_aspect(), normalize(), randompos(), scAdjust(), spline_edges(), update_arrays(), and user_pos().

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

Definition at line 521 of file types.h.

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

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

Definition at line 522 of file types.h.

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

Definition at line 523 of file types.h.

Referenced by allocate_ranks(), build_skeleton(), class2(), decompose(), dot_scan_ranks(), expand_ranksets(), flat_edges(), install_in_rank(), interclexp(), merge_chain(), rec_reset_vlists(), and setSizes().

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

Definition at line 524 of file types.h.

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

#define ND_rw_i (  )     (n)->u.rw

Definition at line 525 of file types.h.

Referenced by attach_attrs_and_arrows(), beginpath(), box_connection(), dot_nodesize(), endpath(), makeObstacle(), makeSelfEdge(), neato_nodesize(), shape_clip(), and virtual_node().

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

Definition at line 526 of file types.h.

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

Definition at line 527 of file types.h.

#define ND_shape (  )     (n)->u.shape

Definition at line 528 of file types.h.

Referenced by attach_attrs_and_arrows(), beginpath(), clip_and_install(), common_init_edge(), common_init_node(), endpath(), isPolygon(), makePoly(), neato_cleanup_node(), overlap_node(), shape_clip(), shapeOf(), and write_plain().

#define ND_shape_info (  )     (n)->u.shape_info

Definition at line 529 of file types.h.

Referenced by attach_attrs_and_arrows(), box_connection(), epsf_free(), epsf_init(), html_path(), makeObstacle(), and makePoly().

#define ND_showboxes (  )     (n)->u.showboxes

Definition at line 530 of file types.h.

Referenced by common_init_node().

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

Definition at line 531 of file types.h.

Referenced by emit_graph().

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

Definition at line 533 of file types.h.

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

Definition at line 534 of file types.h.

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

Definition at line 486 of file types.h.

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

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

Definition at line 487 of file types.h.

Referenced by build_skeleton(), UF_remove(), UF_setname(), UF_singleton(), UF_union(), and virtual_node().

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

Definition at line 535 of file types.h.

Referenced by class2().

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

Definition at line 536 of file types.h.

Referenced by attach_attrs_and_arrows(), box_connection(), common_init_node(), dot_nodesize(), epsf_init(), layout(), makePoly(), neato_nodesize(), scAdjust(), and write_plain().

#define ND_xsize (  )     (n)->u.xsize

Definition at line 537 of file types.h.

Referenced by compute_bb(), layout(), and neato_nodesize().

#define ND_ysize (  )     (n)->u.ysize

Definition at line 538 of file types.h.

Referenced by compute_bb(), layout(), and neato_nodesize().

#define NOT (  )     (!(v))

Definition at line 26 of file types.h.

#define STROKE_CLOSED   (1 << 0)

Definition at line 164 of file types.h.

#define STROKE_FILLED   (1 << 1)

Definition at line 165 of file types.h.

#define STROKE_PENDOWN   (1 << 2)

Definition at line 166 of file types.h.

#define STROKE_VERTICES_ALLOCATED   (1 << 3)

Definition at line 167 of file types.h.

#define TRUE   NOT(FALSE)

Definition at line 32 of file types.h.


Typedef Documentation

typedef struct Agsym_t attrsym_t

Definition at line 50 of file types.h.

typedef unsigned char boolean

Definition at line 24 of file types.h.

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

Definition at line 45 of file types.h.

typedef struct Agedge_t edge_t

Definition at line 49 of file types.h.

typedef struct Agraph_t graph_t

Definition at line 47 of file types.h.

typedef struct htmllabel_t htmllabel_t

Definition at line 52 of file types.h.

typedef struct Agnode_t node_t

Definition at line 48 of file types.h.

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

Definition at line 44 of file types.h.


Enumeration Type Documentation

enum fontname_kind

Enumerator:
NATIVEFONTS 
PSFONTS 
SVGFONTS 

Definition at line 320 of file types.h.

enum ratio_t

Enumerator:
R_NONE 
R_VALUE 
R_FILL 
R_COMPRESS 
R_AUTO 
R_EXPAND 

Definition at line 271 of file types.h.

enum shape_kind

Enumerator:
SH_UNSET 
SH_POLY 
SH_RECORD 
SH_POINT 
SH_EPSF 

Definition at line 185 of file types.h.


Generated on Mon Mar 31 19:05:05 2008 for Graphviz by  doxygen 1.5.1