@shumoku/core · 0.4.2 · function
nodeContentScale
The safe central rectangle inside each nonrectangular outline.
nodeContentScale(shape?: NodeShape): { x: number; y: number } Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
shape | NodeShape | No additional description. | — |
Returns
{ x: number; y: number } libs/@shumoku/core/src/libs/@shumoku/core/src/models/diagram-presentation.ts:22