Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
hier.c File Reference
#include <cgraph/alloc.h>
#include "smyrnadefs.h"
#include "hier.h"
#include <math.h>
#include <neatogen/delaunay.h>
#include <stddef.h>
Include dependency graph for hier.c:

Go to the source code of this file.

Functions

void positionAllItems (Hierarchy *hp, focus_t *fs, reposition_t *parms)
 
HierarchymakeHier (int nn, int ne, v_data *graph, double *x_coords, double *y_coords, hierparms_t *parms)
 
focus_tinitFocus (int ncnt)
 

Function Documentation

◆ initFocus()

focus_t * initFocus ( int  ncnt)

Definition at line 130 of file hier.c.

References focus_t::foci_nodes, gv_alloc(), gv_calloc(), focus_t::num_foci, focus_t::x_foci, and focus_t::y_foci.

Referenced by prepare_topological_fisheye().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ makeHier()

Hierarchy * makeHier ( int  nn,
int  ne,
v_data graph,
double *  x_coords,
double *  y_coords,
hierparms_t parms 
)

Definition at line 99 of file hier.c.

References create_hierarchy(), free(), Hierarchy::geom_graphs, graph(), init_active_level(), init_ex_graph(), Hierarchy::nvtxs, parms, ex_vtx_data::physical_x_coord, ex_vtx_data::physical_y_coord, and UG_graph().

Referenced by prepare_topological_fisheye().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ positionAllItems()

void positionAllItems ( Hierarchy hp,
focus_t fs,
reposition_t parms 
)

Definition at line 18 of file hier.c.

References extract_active_logical_coords(), free(), gv_calloc(), Hierarchy::nlevels, focus_t::num_foci, Hierarchy::nvtxs, parms, rescale_layout_polar(), set_active_physical_coords(), focus_t::x_foci, and focus_t::y_foci.

Referenced by changetopfishfocus(), and prepare_topological_fisheye().

Here is the call graph for this function:
Here is the caller graph for this function: