|
Graphviz 2.29.20120208.0545
|
#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"

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 ag_xget | ( | x, | |
| a | |||
| ) | 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, | |
| a | |||
| ) | agfindattr((g)->proto->e,a) |
Definition at line 749 of file types.h.
Referenced by graph_init(), and makeMatrix().
| #define agfindgraphattr | ( | g, | |
| a | |||
| ) | 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, | |
| a | |||
| ) | 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) |
Definition at line 743 of file types.h.
Referenced by allocate_ranks(), arrow_flags(), beginpath(), build_ranks(), build_skeleton(), circomps(), circuit_model(), class1(), class2(), common_init_edge(), compoundEdges(), countDummyNodes(), delete_fast_edge(), delete_flat_edge(), dot_sameports(), dumpstat(), endpath(), enqueue_neighbors(), fast_edge(), firsthead(), firstsubg(), flat_edge(), flat_edges(), flat_rev(), getPath(), getsplinepoints(), headof(), interclexp(), make_aux_edge(), make_html_label(), make_label(), makeMatrix(), makeMultiSpline(), makeSpline(), makeStraightEdge(), mark_clusters(), mark_lowclusters(), merge_chain(), mergeable(), new_virtual_edge(), nexthead(), nextin(), nextnode(), nextsubg(), nodeInduce(), nonconstraint_edge(), normalize(), resolvePorts(), reverse_edge(), rm(), s1(), selfRightSpace(), unmerge_oneway(), virtual_weight(), and write_plain().
| #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) |
Definition at line 739 of file types.h.
Referenced by addGrid(), circleLayout(), circomps(), dumpstat(), edge(), epsf_init(), findCComp(), getsplinepoints(), init_nop(), init_xdot(), install_in_rank(), is_a_cluster(), is_cluster(), make_label(), makeGraphs(), makeSpline(), mark_clusters(), move_node(), nameof(), printNodeset(), removeOverlapWith(), rm(), scan_graph_mode(), solve_model(), twopi_layout(), user_pos(), and write_plain().
| #define agraphof | ( | n | ) | ((n)->graph) |
Definition at line 741 of file types.h.
Referenced by addEdgeLabels(), arrow_flags(), beginpath(), clip_and_install(), common_init_edge(), common_init_node(), edge(), endpath(), findedge(), firstattr(), firstedge(), firsthead(), firstin(), firstout(), firstsubg(), firstsupg(), firsttail(), getv(), graphof(), make_html_label(), make_label(), makePortLabels(), makeSelfArcs(), neato_init_node(), nextattr(), nextedge(), nexthead(), nextin(), nextout(), nextsubg(), nextsupg(), nexttail(), rm(), selfRightSpace(), setv(), and write_plain().
| #define agroot | ( | g | ) | ((g)->root) |
Definition at line 742 of file types.h.
Referenced by build_ranks(), circo_cleanup(), class2(), do_graph_label(), firstattr(), flat_edge(), getv(), graphof(), gvLayoutJobs(), interclexp(), make_label(), nextattr(), place_graph_label(), rec_reset_vlists(), rm(), rootof(), setv(), and user_pos().
| #define agtail | ( | e | ) | ((e)->tail) |
Definition at line 744 of file types.h.
Referenced by addEdgeLabels(), allocate_ranks(), arrow_flags(), beginpath(), build_ranks(), build_skeleton(), circomps(), circuit_model(), class1(), class2(), clip_and_install(), common_init_edge(), countDummyNodes(), delete_fast_edge(), delete_flat_edge(), dot_sameports(), endpath(), enqueue_neighbors(), fast_edge(), firstattr(), firstnode(), firstsupg(), firsttail(), flat_edge(), flat_edges(), flat_rev(), getPath(), getsplinepoints(), getv(), graphof(), interclexp(), make_aux_edge(), make_label(), makeMultiSpline(), makePortLabels(), makeSelfArcs(), makeSpline(), makeStraightEdge(), merge_chain(), mergeable(), new_virtual_edge(), nextattr(), nextnode(), nextout(), nextsupg(), nexttail(), nonconstraint_edge(), normalize(), other_edge(), resolvePorts(), reverse_edge(), rm(), s1(), safe_other_edge(), setv(), tailof(), virtual_weight(), and write_plain().
| #define alloc_elist | ( | n, | |
| L | |||
| ) | 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 |
Definition at line 701 of file types.h.
Referenced by build_skeleton(), compoundEdges(), makeSelfArcs(), makeStraightEdge(), merge_chain(), new_virtual_edge(), splineEdges(), and unmerge_oneway().
| #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 |
Definition at line 704 of file types.h.
Referenced by attach_attrs_and_arrows(), beginpath(), class2(), clip_and_install(), endpath(), flat_rev(), getsplinepoints(), initEdgeTypes(), new_spline(), new_virtual_edge(), place_portlabel(), and unmerge_oneway().
| #define ED_factor | ( | e | ) | (e)->u.factor |
Definition at line 706 of file types.h.
Referenced by diffeq_model().
| #define ED_head_label | ( | e | ) | (e)->u.head_label |
Definition at line 708 of file types.h.
Referenced by attach_attrs_and_arrows(), common_init_edge(), gv_cleanup_edge(), makePortLabels(), and place_portlabel().
| #define ED_head_port | ( | e | ) | (e)->u.head_port |
Definition at line 709 of file types.h.
Referenced by beginpath(), clip_and_install(), common_init_edge(), endpath(), getPath(), html_path(), makeMultiSpline(), makeSelfEdge(), makeStraightEdge(), new_virtual_edge(), ports_eq(), resolvePorts(), and selfRightSpace().
| #define ED_label | ( | e | ) | (e)->u.label |
Definition at line 710 of file types.h.
Referenced by addEdgeLabels(), attach_attrs_and_arrows(), class2(), common_init_edge(), compute_bb(), flat_edges(), flat_rev(), gv_cleanup_edge(), makeSelfArcs(), mergeable(), overlap_edge(), selfRightSpace(), and write_plain().
| #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_spl | ( | e | ) | (e)->u.spl |
Definition at line 716 of file types.h.
Referenced by addEdgeLabels(), attach_attrs_and_arrows(), compute_bb(), edgeMidpoint(), getsplinepoints(), gv_free_splines(), main(), new_spline(), overlap_edge(), and write_plain().
| #define ED_tail_label | ( | e | ) | (e)->u.tail_label |
Definition at line 717 of file types.h.
Referenced by attach_attrs_and_arrows(), common_init_edge(), gv_cleanup_edge(), makePortLabels(), and place_portlabel().
| #define ED_tail_port | ( | e | ) | (e)->u.tail_port |
Definition at line 718 of file types.h.
Referenced by beginpath(), clip_and_install(), common_init_edge(), endpath(), getPath(), html_path(), makeMultiSpline(), makeSelfEdge(), makeStraightEdge(), new_virtual_edge(), ports_eq(), resolvePorts(), and selfRightSpace().
| #define ED_to_orig | ( | e | ) | (e)->u.to_orig |
Definition at line 719 of file types.h.
Referenced by beginpath(), clip_and_install(), delete_flat_edge(), endpath(), flat_rev(), getsplinepoints(), new_spline(), new_virtual_edge(), and nonconstraint_edge().
| #define ED_to_virt | ( | e | ) | (e)->u.to_virt |
Definition at line 720 of file types.h.
Referenced by class1(), class2(), compoundEdges(), delete_flat_edge(), flat_edges(), flat_rev(), interclexp(), makeSelfArcs(), makeStraightEdge(), mark_clusters(), mark_lowclusters(), merge_chain(), merge_oneway(), new_virtual_edge(), splineEdges(), and unmerge_oneway().
| #define ED_weight | ( | e | ) | (e)->u.weight |
Definition at line 722 of file types.h.
Referenced by make_aux_edge(), merge_chain(), new_virtual_edge(), nonconstraint_edge(), and virtual_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, | |
| L | |||
| ) | 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 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 |
Definition at line 410 of file types.h.
Referenced by clip_and_install(), compute_bb(), emit_clusters(), gv_postprocess(), gvLayout(), init_nop(), packSubgraphs(), place_graph_label(), putGraphs(), spline_edges(), translate_bb(), updateBB(), write_plain(), and xdotBB().
| #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_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 |
Definition at line 414 of file types.h.
Referenced by class2(), compute_bb(), dot_concentrate(), dot_mincross(), emit_clusters(), mark_clusters(), mark_lowclusters(), packSubgraphs(), place_graph_label(), rec_reset_vlists(), rec_save_vlists(), and translate_bb().
| #define GD_cluster_was_collapsed | ( | g | ) | (g)->u.cluster_was_collapsed |
| #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 |
Definition at line 417 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 | ) | (g)->u.drawing |
Definition at line 418 of file types.h.
Referenced by getObjId(), graph_cleanup(), graph_init(), gvFreeLayout(), gvLayout(), gvLayoutJobs(), gvRender(), gvRenderContext(), gvRenderData(), gvRenderFilename(), gvRenderJobs(), gvusershape_size(), init_nop(), and xdotBB().
| #define GD_exact_ranksep | ( | g | ) | (g)->u.exact_ranksep |
Definition at line 419 of file types.h.
Referenced by graph_init().
| #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) |
Definition at line 435 of file types.h.
Referenced by build_ranks(), compute_bb(), do_graph_label(), flat_edges(), gv_postprocess(), html_path(), neato_init_node(), selfRightSpace(), and updateBB().
| #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_labels | ( | g | ) | (g)->u.has_labels |
Definition at line 425 of file types.h.
Referenced by attach_attrs_and_arrows(), common_init_edge(), common_init_node(), and do_graph_label().
| #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 |
Definition at line 432 of file types.h.
Referenced by attach_attrs_and_arrows(), compute_bb(), do_graph_label(), emit_clusters(), graph_cleanup(), gv_postprocess(), init_nop(), place_graph_label(), and translate_bb().
| #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_maxrank | ( | g | ) | (g)->u.maxrank |
Definition at line 439 of file types.h.
Referenced by allocate_ranks(), build_ranks(), build_skeleton(), dot_concentrate(), dot_scan_ranks(), install_cluster(), install_in_rank(), ncross(), rec_reset_vlists(), and save_vlist().
| #define GD_minrank | ( | g | ) | (g)->u.minrank |
Definition at line 441 of file types.h.
Referenced by allocate_ranks(), build_ranks(), build_skeleton(), dot_concentrate(), dot_scan_ranks(), install_cluster(), install_in_rank(), ncross(), rec_reset_vlists(), and save_vlist().
| #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 |
Definition at line 444 of file types.h.
Referenced by class2(), compute_bb(), dot_concentrate(), dot_mincross(), emit_clusters(), flat_edges(), mark_clusters(), mark_lowclusters(), packSubgraphs(), place_graph_label(), rank1(), rec_reset_vlists(), rec_save_vlists(), and translate_bb().
| #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 |
Definition at line 448 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 | ) | (g)->u.nlist |
Definition at line 449 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(), rank1(), and setSizes().
| #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_rank | ( | g | ) | (g)->u.rank |
Definition at line 452 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 | ) | ((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_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 |
Definition at line 461 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 | ) | (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 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 |
Definition at line 587 of file types.h.
Referenced by build_skeleton(), class1(), class2(), decompose(), install_cluster(), makeAddPoly(), makePoly(), mark_clusters(), mark_lowclusters(), and nonconstraint_edge().
| #define ND_coord | ( | n | ) | (n)->u.coord |
Definition at line 588 of file types.h.
Referenced by attach_attrs_and_arrows(), beginpath(), box_connection(), clip_and_install(), endpath(), getPath(), init_nop(), makeObstacle(), makeStraightEdge(), neato_set_aspect(), overlap_node(), shape_clip(), shiftGraphs(), and write_plain().
| #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_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 |
Definition at line 595 of file types.h.
Referenced by attach_attrs_and_arrows(), box_connection(), common_init_node(), epsf_init(), getSizes(), gv_nodesize(), makeAddPoly(), makePoly(), scAdjust(), and write_plain().
| #define ND_ht | ( | n | ) | (n)->u.ht |
Definition at line 597 of file types.h.
Referenced by attach_attrs_and_arrows(), box_connection(), gv_nodesize(), makeObstacle(), and virtual_node().
| #define ND_id | ( | n | ) | (n)->u.id |
Definition at line 598 of file types.h.
Referenced by fdp_init_node_edge(), getSizes(), make_spring(), makeMatrix(), move_node(), scan_graph_mode(), and UF_union().
| #define ND_in | ( | n | ) | (n)->u.in |
Definition at line 599 of file types.h.
Referenced by build_ranks(), delete_fast_edge(), enqueue_neighbors(), fast_edge(), find_fast_edge(), initEdgeTypes(), makeGraphs(), and virtual_node().
| #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_lw | ( | n | ) | (n)->u.lw |
Definition at line 605 of file types.h.
Referenced by attach_attrs_and_arrows(), beginpath(), box_connection(), endpath(), gv_nodesize(), makeObstacle(), and virtual_node().
| #define ND_mark | ( | n | ) | (n)->u.mark |
Definition at line 606 of file types.h.
Referenced by acyclic(), and decompose().
| #define ND_next | ( | n | ) | (n)->u.next |
Definition at line 609 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 | ) | (n)->u.node_type |
Definition at line 610 of file types.h.
Referenced by beginpath(), endpath(), mark_clusters(), mark_lowclusters(), nonconstraint_edge(), unmerge_oneway(), and virtual_node().
| #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 |
Definition at line 614 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_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 |
Definition at line 618 of file types.h.
Referenced by attach_attrs_and_arrows(), cAdjust(), circleLayout(), circularLayout(), coord(), D2E(), diffeq_model(), dumpstat(), fdp_tLayout(), gv_cleanup_node(), init_nop(), initLayout(), jitter_d(), layout_block(), main(), move_node(), neato_init_node(), neato_set_aspect(), normalize(), randompos(), scAdjust(), shiftGraphs(), spline_edges(), update_arrays(), and user_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_rank | ( | n | ) | (n)->u.rank |
Definition at line 621 of file types.h.
Referenced by allocate_ranks(), build_skeleton(), class2(), clip_and_install(), countDummyNodes(), decompose(), dot_scan_ranks(), flat_edges(), install_in_rank(), interclexp(), merge_chain(), nonconstraint_edge(), rank3(), rec_reset_vlists(), and setSizes().
| #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 |
Definition at line 623 of file types.h.
Referenced by attach_attrs_and_arrows(), beginpath(), box_connection(), endpath(), gv_nodesize(), makeObstacle(), shape_clip(), and virtual_node().
| #define ND_shape | ( | n | ) | (n)->u.shape |
Definition at line 626 of file types.h.
Referenced by attach_attrs_and_arrows(), beginpath(), clip_and_install(), common_init_edge(), common_init_node(), endpath(), gv_cleanup_node(), isPolygon(), makeAddPoly(), makePoly(), overlap_node(), shape_clip(), shapeOf(), and write_plain().
| #define ND_shape_info | ( | n | ) | (n)->u.shape_info |
Definition at line 627 of file types.h.
Referenced by attach_attrs_and_arrows(), box_connection(), epsf_free(), epsf_init(), html_path(), makeAddPoly(), makeObstacle(), and makePoly().
| #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_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 |
Definition at line 584 of file types.h.
Referenced by build_skeleton(), init_UF_size(), UF_remove(), UF_setname(), UF_singleton(), UF_union(), and virtual_node().
| #define ND_weight_class | ( | n | ) | (n)->u.weight_class |
| #define ND_width | ( | n | ) | (n)->u.width |
Definition at line 634 of file types.h.
Referenced by attach_attrs_and_arrows(), box_connection(), common_init_node(), epsf_init(), getSizes(), gv_nodesize(), makeAddPoly(), makePoly(), scAdjust(), and write_plain().
| #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 SET_RANKDIR | ( | g, | |
| rd | |||
| ) | ((g)->u.rankdir = (rd)) |
Definition at line 737 of file types.h.
Referenced by graph_init().
| 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 int(* bsearch_cmpf)(const void *, const void *) |
| typedef struct htmllabel_t htmllabel_t |
| typedef int(* qsort_cmpf)(const void *, const void *) |
| typedef struct shape_desc shape_desc |
| typedef struct shape_functions shape_functions |
| typedef struct textlabel_t textlabel_t |
| enum fontname_kind |
| enum ratio_t |
| enum shape_kind |
1.7.4