Documentation
¶
Overview ¶
Package layout provides graph layout algorithms for positioning nodes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateGraphBounds ¶
CalculateGraphBounds calculates the bounding box for the entire graph.
func CalculateGridLayout ¶
CalculateGridLayout positions nodes in a grid formation.
func CalculateHierarchicalLayout ¶
CalculateHierarchicalLayout positions nodes in levels based on dependencies. Levels with many nodes are wrapped into sub-rows to keep the canvas width bounded to maxLevelWidth.
func CalculateOptimizedLayout ¶
CalculateOptimizedLayout chooses and applies the best layout algorithm for the graph.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.