Module

DataViz.Layout.Sankey.ComputeWithSteps

Package
purescript-hylograph-layout
Repository
afcondon/purescript-hylograph-layout

DataViz.Layout.Sankey.ComputeWithSteps

Version of Sankey layout that captures intermediate states at each iteration. Uses the same algorithm as Compute.purs but captures states after each relaxation iteration for debugging and visual comparison.

#computeLayoutWithSteps Source

computeLayoutWithSteps :: Array LinkCSVRow -> Number -> Number -> Int -> Array SankeyStep

Compute Sankey layout with intermediate steps captured Runs the full D3-style algorithm but captures state after each relaxation iteration