computeTotalHeight()
Compute the bottom edge of a positioned block flow.
Import
Section titled “Import”import { computeTotalHeight } from "@graphrefly/ts/solutions/reactive-layout";Signature
Section titled “Signature”function computeTotalHeight(blocks: readonly PositionedBlock[]): numberParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
blocks | readonly PositionedBlock[] | blocks value used by the helper. |
Returns
Section titled “Returns”A number value.
Example
Section titled “Example”import { computeTotalHeight } from "@graphrefly/ts/solutions/reactive-layout";Source
Section titled “Source”packages/ts/src/solutions/reactive-layout/block.ts