@shumoku/core · 0.4.0 · function
findPortClutter
APIの説明は英語のcanonical sourceを表示しています。
Find collisions among port boxes, among label boxes, and between a label and a FOREIGN node box (a label may touch its own node). O(n²) on layout-sized inputs.
findPortClutter(ports: readonly ResolvedPort[], nodeBoxes?: readonly BoxSpec[]): PortClutter[] パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
ports | readonly ResolvedPort[] | 追加説明はありません。 | — |
nodeBoxes | readonly BoxSpec[] | 追加説明はありません。 | [] |
戻り値
PortClutter[]