@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[]