#include <tlayout.h>
#include <neatoprocs.h>
#include <adjust.h>
#include <comp.h>
#include <pack.h>
#include <assert.h>
#include <clusteredges.h>
#include <dbg.h>
Include dependency graph for layout.c:
Go to the source code of this file.
Data Structures | |
struct | layout_info |
struct | clist_t |
struct | erec |
Defines | |
#define | FDP_PRIVATE 1 |
#define | NEW_EDGE(e) (ED_to_virt(e) == 0) |
#define | CL_CHUNK 10 |
#define | BSZ 1000 |
#define | ANG (M_PI/90) |
Functions | |
void | layout (graph_t *g, layout_info *infop) |
void | init_info (graph_t *g, layout_info *infop) |
void | fdp_init_graph (Agraph_t *g) |
void | fdpLayout (graph_t *g) |
void | fdp_layout (graph_t *g) |
void fdp_init_graph | ( | Agraph_t * | g | ) |
Definition at line 1050 of file layout.c.
References agfindattr(), ET_LINE, fdp_init_node_edge(), fdp_initParams(), GD_alg, late_int(), MAXDIM, MIN, Ndim, Agraphinfo_t::ndim, NEW, NULL, setEdgeType(), and Agraph_t::u.
Referenced by fdp_layout().
void fdp_layout | ( | graph_t * | g | ) |
Definition at line 1106 of file layout.c.
References dotneato_postprocess(), EDGE_TYPE, ET_NONE, fdp_init_graph(), fdpLayout(), and neato_set_aspect().
void fdpLayout | ( | graph_t * | g | ) |
Definition at line 1062 of file layout.c.
References init_info(), and layout().
Referenced by fdp_layout().
void init_info | ( | graph_t * | g, | |
layout_info * | infop | |||
) |
Definition at line 992 of file layout.c.
References agfindattr(), CL_OFFSET, pack_info::doSplines, layout_info::G_coord, layout_info::G_height, layout_info::G_width, getPack(), getPackMode(), layout_info::gid, l_node, pack_info::margin, pack_info::mode, layout_info::pack, and layout_info::rootg.
Referenced by fdpLayout().
void layout | ( | graph_t * | g, | |
layout_info * | infop | |||
) |
Definition at line 853 of file layout.c.
References agdelete(), agfstnode(), agnnodes(), agnxtnode(), compute_bb(), cvt2pt(), DNODE, fdp_tLayout(), fdp_xLayout(), findCComp(), pack_info::fixed, free(), N_NEW, Agraph_t::name, ND_clust, ND_height, ND_pos, ND_width, ND_xsize, ND_ysize, normalize(), NULL, layout_info::pack, putGraphs(), layout_info::rootg, TRUE, Verbose, point::x, and point::y.
Referenced by fdpLayout().