computeFlowLines()
Flow prepared text through columns and carved obstacle slots.
Import
Section titled “Import”import { computeFlowLines } from "@graphrefly/ts/solutions/reactive-layout";Signature
Section titled “Signature”function computeFlowLines( segments: readonly PreparedSegment[], opts: ComputeFlowLinesOptions,): FlowLinesResultParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
segments | readonly PreparedSegment[] | segments value used by the helper. |
opts | ComputeFlowLinesOptions | Options that configure the helper. |
Returns
Section titled “Returns”A FlowLinesResult value.
Example
Section titled “Example”import { computeFlowLines } from "@graphrefly/ts/solutions/reactive-layout";Source
Section titled “Source”packages/ts/src/solutions/reactive-layout/flow.ts