Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
hier.h File Reference
Include dependency graph for hier.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  focus_t
 
struct  reposition_t
 

Functions

void positionAllItems (Hierarchy *hp, focus_t *fs, reposition_t *parms)
 
HierarchymakeHier (int nnodes, int nedges, v_data *, double *, double *, hierparms_t *)
 
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  nnodes,
int  nedges,
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: