#include <render.h>
#include <pack.h>
#include <pointset.h>
#include <math.h>
Include dependency graph for pack.c:
Go to the source code of this file.
Data Structures | |
struct | ginfo |
Defines | |
#define | C 100 |
#define | MOVEPT(p) ((p).x += dx, (p).y += dy) |
#define | GRID(x, s) (((x) + ((s)-1)) / (s)) |
#define | CELL(p, s) ((p).x = (p).x/(s), (p).y = ((p).y/(s))) |
#define | SGN(a) (((a)<0)? -1 : 1) |
Functions | |
void | fillLine (point p, point q, PointSet *ps) |
point * | putGraphs (int ng, Agraph_t **gs, Agraph_t *root, pack_info *pinfo) |
int | packGraphs (int ng, Agraph_t **gs, Agraph_t *root, pack_info *info) |
int | packSubgraphs (int ng, Agraph_t **gs, Agraph_t *root, pack_info *info) |
int | pack_graph (int ng, Agraph_t **gs, Agraph_t *root, boolean *fixed) |
pack_mode | getPackMode (Agraph_t *g, pack_mode dflt) |
int | getPack (Agraph_t *g, int not_def, int dflt) |
#define C 100 |
Definition at line 28 of file pack.c.
Referenced by colorxlate(), mult_dense_mat(), mult_dense_mat_d(), mult_sparse_dense_mat_transpose(), and round_corners().
#define CELL | ( | p, | |||
s | ) | ((p).x = (p).x/(s), (p).y = ((p).y/(s))) |
int getPack | ( | Agraph_t * | g, | |
int | not_def, | |||
int | dflt | |||
) |
Definition at line 915 of file pack.c.
References agget().
Referenced by circoLayout(), init_info(), neato_layout(), pack_graph(), and twopi_layout().
Definition at line 868 of file pack.c.
References agget(), l_clust, l_graph, l_node, and streq.
Referenced by circoLayout(), init_info(), neato_layout(), pack_graph(), and twopi_layout().
Definition at line 850 of file pack.c.
References CL_OFFSET, pack_info::doSplines, dotneato_postprocess(), pack_info::fixed, getPack(), getPackMode(), l_graph, pack_info::margin, pack_info::mode, and packSubgraphs().
Definition at line 805 of file pack.c.
References pack_info::doSplines, free(), and putGraphs().
Referenced by main(), neato_layout(), and packSubgraphs().
Definition at line 823 of file pack.c.
References compute_bb(), GD_bb, GD_clust, GD_n_cluster, and packGraphs().
Referenced by circoLayout(), pack_graph(), and twopi_layout().
Definition at line 573 of file pack.c.
References compute_bb(), pack_info::fixed, free(), freePS(), GD_bb, l_graph, box::LL, pack_info::margin, MAX, MIN, pack_info::mode, N_NEW, newPS(), box::UR, Verbose, point::x, and point::y.
Referenced by layout(), and packGraphs().