Skip to content
sigma.js sigma.js
v4.0.6 Docs Examples GitHub 12.2K

RectangleOptions

Defined in: packages/sigma/src/rendering/nodes/shapes/rectangle.ts:14

optional aspectRatio?: ValueSource<number>

Defined in: packages/sigma/src/rendering/nodes/shapes/rectangle.ts:19

Aspect ratio (width / height): a fixed number, or a node attribute.

{ attribute: "aspectRatio", default: 1 }

optional cornerRadius?: ValueSource<number>

Defined in: packages/sigma/src/rendering/nodes/shapes/rectangle.ts:20


optional rotation?: ValueSource<number>

Defined in: packages/sigma/src/rendering/nodes/shapes/rectangle.ts:21