Skip to main content

Module layout

Module layout 

Source
Expand description

Graph layout algorithms. Phase 7 entries: ALGO-LO-001 (simple deterministic layouts: circle, star, grid, sphere) and random layouts. ALGO-LO-002: Fruchterman-Reingold force-directed layout. ALGO-LO-003: Kamada-Kawai spring layout. ALGO-LO-004: Reingold-Tilford tree layout.

Structs§

DhParams
Parameters for the Davidson-Harel layout.
DrlOptions
Full DrL options.
FrBounds
Optional per-vertex bounding box constraints.
FrBounds3d
3D bounding box constraints.
FrParams
Parameters for the 2D Fruchterman-Reingold layout.
FrParams3d
Parameters for the 3D Fruchterman-Reingold layout.
GemParams
Parameters for the GEM layout algorithm.
GraphoptParams
Parameters for the GraphOpt layout.
KkBounds
Per-vertex coordinate bounds for the 2D KK layout.
KkBounds3d
Per-vertex coordinate bounds for the 3D KK layout.
KkParams
Parameters for the 2D Kamada-Kawai layout.
KkParams3d
Parameters for the 3D Kamada-Kawai layout.
LglParams
Parameters for the LGL layout algorithm.
SugiyamaParams
Parameters for the Sugiyama layout.
SugiyamaResult
Result of a Sugiyama layout computation.
UmapParams
Parameters for the UMAP layout algorithm.

Enums§

DrlTemplate
Predefined parameter templates for DrL.
FrGrid
Grid acceleration mode for Fruchterman-Reingold layout.
RootChoice
Heuristic for selecting tree-layout roots when multiple candidates exist within a component.
RtMode
Mode for tree edge traversal direction.

Functions§

layout_align
Align a graph layout with the coordinate axes.
layout_bipartite
Compute a bipartite layout.
layout_circle
Place vertices uniformly on a unit circle.
layout_davidson_harel
Compute the Davidson-Harel simulated annealing layout.
layout_drl
Compute the DrL layout.
layout_drl_3d
Compute the DrL layout in 3D.
layout_fruchterman_reingold
2D Fruchterman-Reingold force-directed layout.
layout_fruchterman_reingold_3d
3D Fruchterman-Reingold force-directed layout.
layout_gem
Compute the GEM force-directed layout.
layout_graphopt
Compute the GraphOpt force-directed layout.
layout_grid
Place vertices on a regular 2D grid.
layout_grid_3d
Place vertices on a regular 3D grid.
layout_kamada_kawai
Compute 2D Kamada-Kawai layout.
layout_kamada_kawai_3d
Compute 3D Kamada-Kawai layout.
layout_lgl
Compute the Large Graph Layout (LGL).
layout_mds
Compute the MDS (Multidimensional Scaling) layout.
layout_merge_dla
Merge multiple 2D layouts into a single combined layout using DLA placement.
layout_random
Place vertices uniformly at random in the square [-1, 1] × [-1, 1].
layout_random_3d
Place vertices uniformly at random in the cube [-1, 1]³.
layout_reingold_tilford
Compute the Reingold-Tilford tree layout.
layout_reingold_tilford_circular
Circular variant of the Reingold-Tilford layout.
layout_sphere
Place vertices approximately uniformly on a unit sphere.
layout_star
Place vertices in a star layout: center at origin, rest on a unit circle.
layout_sugiyama
Compute the Sugiyama hierarchical layout.
layout_umap
Compute the 2D UMAP layout.
layout_umap_3d
Compute the 3D UMAP layout.
roots_for_tree_layout
Choose “nice” roots for a tree layout.
umap_compute_weights
Compute UMAP weights from edge distances.