Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@shumoku/core · 0.4.0 · function

findNodeOverlaps

ソース

APIの説明は英語のcanonical sourceを表示しています。

Find pairs of node boxes that overlap (optionally requiring `margin` clear space between boxes). O(n²) — layout-sized inputs only.

findNodeOverlaps(boxes: readonly BoxSpec[], margin?: number): NodeOverlap[]

パラメーター

名前 説明 既定値
boxes readonly BoxSpec[] 追加説明はありません。
margin number 追加説明はありません。 0

戻り値

NodeOverlap[]

libs/@shumoku/core/src/layout/invariants.ts:78