Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

RectangleOptions

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

Properties

aspectRatio?

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.

Default

{ attribute: "aspectRatio", default: 1 }

cornerRadius?

optional cornerRadius?: ValueSource<number>

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


rotation?

optional rotation?: ValueSource<number>

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