@shumoku/core · 0.4.2 · function
getLinkWidth
Compute the visual line width for a link. Single source of truth — used by layout, routing, and rendering.
getLinkWidth(link: Link): number Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
link | Link | No additional description. | — |
Returns
number libs/@shumoku/core/src/libs/@shumoku/core/src/layout/link-utils.ts:190