Graphviz
2.41.20171026.1811
|
Go to the source code of this file.
Data Structures | |
struct | cinfo_t |
Macros | |
#define | M1 "/pathbox {\n\ /Y exch %.5g sub def\n\ /X exch %.5g sub def\n\ /y exch %.5g sub def\n\ /x exch %.5g sub def\n\ newpath x y moveto\n\ X y lineto\n\ X Y lineto\n\ x Y lineto\n\ closepath stroke\n \} def\n\/dbgstart { gsave %.5g %.5g translate } def\n\/arrowlength 10 def\n\/arrowwidth arrowlength 2 div def\n\/arrowhead {\n\ gsave\n\ rotate\n\ currentpoint\n\ newpath\n\ moveto\n\ arrowlength arrowwidth 2 div rlineto\n\ 0 arrowwidth neg rlineto\n\ closepath fill\n\ grestore\n\} bind def\n\/makearrow {\n\ currentpoint exch pop sub exch currentpoint pop sub atan\n\ arrowhead\n\} bind def\n\/point {\ newpath\ 2 0 360 arc fill\} def\/makevec {\n\ /Y exch def\n\ /X exch def\n\ /y exch def\n\ /x exch def\n\ newpath x y moveto\n\ X Y lineto stroke\n\ X Y moveto\n\ x y makearrow\n\} def\n" |
#define | M2 "/pathbox {\n\ /X exch neg %.5g sub def\n\ /Y exch %.5g sub def\n\ /x exch neg %.5g sub def\n\ /y exch %.5g sub def\n\ newpath x y moveto\n\ X y lineto\n\ X Y lineto\n\ x Y lineto\n\ closepath stroke\n\} def\n" |
#define | HAVE_EDGE(ep) ((et != ET_NONE) && (ED_spl(ep) != NULL)) |
Functions | |
void | translate_bb (graph_t *g, int rankdir) |
void | gv_postprocess (Agraph_t *g, int allowTranslation) |
void | dotneato_postprocess (Agraph_t *g) |
void | place_graph_label (graph_t *g) |
Definition at line 404 of file postproc.c.
#define M1 "/pathbox {\n\ /Y exch %.5g sub def\n\ /X exch %.5g sub def\n\ /y exch %.5g sub def\n\ /x exch %.5g sub def\n\ newpath x y moveto\n\ X y lineto\n\ X Y lineto\n\ x Y lineto\n\ closepath stroke\n \} def\n\/dbgstart { gsave %.5g %.5g translate } def\n\/arrowlength 10 def\n\/arrowwidth arrowlength 2 div def\n\/arrowhead {\n\ gsave\n\ rotate\n\ currentpoint\n\ newpath\n\ moveto\n\ arrowlength arrowwidth 2 div rlineto\n\ 0 arrowwidth neg rlineto\n\ closepath fill\n\ grestore\n\} bind def\n\/makearrow {\n\ currentpoint exch pop sub exch currentpoint pop sub atan\n\ arrowhead\n\} bind def\n\/point {\ newpath\ 2 0 360 arc fill\} def\/makevec {\n\ /Y exch def\n\ /X exch def\n\ /y exch def\n\ /x exch def\n\ newpath x y moveto\n\ X Y lineto stroke\n\ X Y moveto\n\ x y makearrow\n\} def\n" |
Definition at line 24 of file postproc.c.
Referenced by gv_postprocess().
#define M2 "/pathbox {\n\ /X exch neg %.5g sub def\n\ /Y exch %.5g sub def\n\ /x exch neg %.5g sub def\n\ /y exch %.5g sub def\n\ newpath x y moveto\n\ X y lineto\n\ X Y lineto\n\ x Y lineto\n\ closepath stroke\n\} def\n" |
Definition at line 69 of file postproc.c.
Referenced by gv_postprocess().
void dotneato_postprocess | ( | Agraph_t * | g | ) |
Definition at line 693 of file postproc.c.
References gv_postprocess().
Referenced by circo_layout(), dot_layout(), osage_layout(), pack_graph(), patchwork_layout(), sfdp_layout(), and twopi_layout().
Definition at line 603 of file postproc.c.
References GD_bb, GD_flip, GD_label, GD_label_pos, GD_rankdir, LABEL_AT_TOP, M1, M2, PAD, place_graph_label(), RANKDIR_BT, RANKDIR_LR, RANKDIR_RL, RANKDIR_TB, Show_boxes, pointf_s::x, and pointf_s::y.
Referenced by dotneato_postprocess(), fdp_layout(), and neato_layout().
void place_graph_label | ( | graph_t * | g | ) |
Definition at line 736 of file postproc.c.
References agroot(), BOTTOM_IX, GD_bb, GD_border, GD_clust, GD_label, GD_label_pos, GD_n_cluster, place_graph_label(), TOP_IX, TRUE, pointf_s::x, and pointf_s::y.
Referenced by gv_postprocess(), and place_graph_label().
Definition at line 121 of file postproc.c.
References GD_bb, GD_clust, GD_label, GD_n_cluster, boxf::LL, RANKDIR_BT, RANKDIR_LR, translate_bb(), boxf::UR, pointf_s::x, and pointf_s::y.
Referenced by translate_bb().