|
Graphviz 16.1.3~dev.20261128.0221
|
Go to the source code of this file.
Data Structures | |
| struct | ex_vtx_data |
| struct | Hierarchy |
| struct | levelparms_t |
Functions | |
| Hierarchy * | create_hierarchy (v_data *graph, int nvtxs, int nedges, ex_vtx_data *geom_graph, int ngeom_edges, bool dist2_limit) |
| void | set_active_levels (Hierarchy *, int *, int, levelparms_t *) |
| void | find_closest_active_node (Hierarchy *, double x, double y, int *) |
| size_t | extract_active_logical_coords (Hierarchy *hierarchy, int node, int level, double *x_coords, double *y_coords, size_t counter) |
| int | set_active_physical_coords (Hierarchy *, int node, int level, double *x_coords, double *y_coords, int counter) |
| void | init_active_level (Hierarchy *hierarchy) |
| int | init_ex_graph (v_data *graph1, v_data *graph2, int n, double *x_coords, double *y_coords, ex_vtx_data **gp) |
| void | rescale_layout_polar (double *x_coords, double *y_coords, double *x_foci, double *y_foci, int num_foci, size_t n, int interval, double width, double height, double distortion) |
| void | find_physical_coords (Hierarchy *, int, int, float *x, float *y) |
| void | find_old_physical_coords (Hierarchy *hierarchy, int level, int node, float *x, float *y) |
| void | find_active_ancestor_info (Hierarchy *hierarchy, int level, int node, int *levell, int *nodee) |
| Hierarchy * create_hierarchy | ( | v_data * | graph, |
| int | nvtxs, | ||
| int | nedges, | ||
| ex_vtx_data * | geom_graph, | ||
| int | ngeom_edges, | ||
| bool | dist2_limit | ||
| ) |
Definition at line 668 of file hierarchy.c.
References coarsen_match(), cpExGraph(), cpGraph(), Hierarchy::cv2v, free(), graph(), gv_alloc(), gv_calloc(), gv_recalloc(), LIST_APPEND, LIST_AT, LIST_GET, MAX, nedges, Hierarchy::nlevels, NULL, and Hierarchy::v2cv.
Referenced by makeHier().
| size_t extract_active_logical_coords | ( | Hierarchy * | hierarchy, |
| int | node, | ||
| int | level, | ||
| double * | x_coords, | ||
| double * | y_coords, | ||
| size_t | counter | ||
| ) |
Definition at line 968 of file hierarchy.c.
References Hierarchy::cv2v, extract_active_logical_coords(), graph(), and LIST_GET.
Referenced by extract_active_logical_coords(), and positionAllItems().
| void find_active_ancestor_info | ( | Hierarchy * | hierarchy, |
| int | level, | ||
| int | node, | ||
| int * | levell, | ||
| int * | nodee | ||
| ) |
Definition at line 1045 of file hierarchy.c.
References LIST_GET, and Hierarchy::v2cv.
Referenced by drawtopfishedges().
| void find_closest_active_node | ( | Hierarchy * | hierarchy, |
| double | x, | ||
| double | y, | ||
| int * | closest_fine_node | ||
| ) |
Definition at line 900 of file hierarchy.c.
References find_leftmost_descendant(), findClosestActiveNode(), LIST_GET, and Hierarchy::nlevels.
Referenced by changetopfishfocus().
| void find_old_physical_coords | ( | Hierarchy * | hierarchy, |
| int | level, | ||
| int | node, | ||
| float * | x, | ||
| float * | y | ||
| ) |
Definition at line 1063 of file hierarchy.c.
References LIST_GET, and Hierarchy::v2cv.
Referenced by get_temp_coords().
| void find_physical_coords | ( | Hierarchy * | hierarchy, |
| int | level, | ||
| int | node, | ||
| float * | x, | ||
| float * | y | ||
| ) |
Definition at line 1032 of file hierarchy.c.
References LIST_GET, and Hierarchy::v2cv.
Referenced by get_temp_coords().
| void init_active_level | ( | Hierarchy * | hierarchy | ) |
Definition at line 1075 of file hierarchy.c.
References graph(), LIST_GET, and Hierarchy::nlevels.
Referenced by makeHier().
| int init_ex_graph | ( | v_data * | graph1, |
| v_data * | graph2, | ||
| int | n, | ||
| double * | x_coords, | ||
| double * | y_coords, | ||
| ex_vtx_data ** | gp | ||
| ) |
Definition at line 915 of file hierarchy.c.
References v_data::edges, ex_vtx_data::edges, gv_calloc(), nedges, v_data::nedges, ex_vtx_data::nedges, neighbor, ex_vtx_data::size, ex_vtx_data::x_coord, and ex_vtx_data::y_coord.
Referenced by makeHier().
| void rescale_layout_polar | ( | double * | x_coords, |
| double * | y_coords, | ||
| double * | x_foci, | ||
| double * | y_foci, | ||
| int | num_foci, | ||
| size_t | n, | ||
| int | interval, | ||
| double | width, | ||
| double | height, | ||
| double | distortion | ||
| ) |
Definition at line 163 of file rescale_layout.c.
References copy_vector(), free(), graph(), gv_calloc(), MIN, rescale_layout_polarFocus(), scadd(), and UG_graph().
Referenced by positionAllItems().
| void set_active_levels | ( | Hierarchy * | hierarchy, |
| int * | foci_nodes, | ||
| int | num_foci, | ||
| levelparms_t * | parms | ||
| ) |
Definition at line 739 of file hierarchy.c.
References ex_vtx_data::active_level, Hierarchy::cv2v, dist_from_foci(), free(), graph(), gv_calloc(), LIST_GET, MIN, Hierarchy::nlevels, parms, and sort_place().
Referenced by changetopfishfocus(), and prepare_topological_fisheye().
| int set_active_physical_coords | ( | Hierarchy * | hierarchy, |
| int | node, | ||
| int | level, | ||
| double * | x_coords, | ||
| double * | y_coords, | ||
| int | counter | ||
| ) |
Definition at line 1002 of file hierarchy.c.
References Hierarchy::cv2v, graph(), LIST_GET, and set_active_physical_coords().
Referenced by positionAllItems(), and set_active_physical_coords().