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.
- Graphopt
Params - 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.
- Sugiyama
Params - Parameters for the Sugiyama layout.
- Sugiyama
Result - Result of a Sugiyama layout computation.
- Umap
Params - Parameters for the UMAP layout algorithm.
Enums§
- DrlTemplate
- Predefined parameter templates for DrL.
- FrGrid
- Grid acceleration mode for Fruchterman-Reingold layout.
- Root
Choice - 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.