RectangleOptions
Defined in: packages/sigma/src/rendering/nodes/shapes/rectangle.ts:14
Properties
Section titled “Properties”aspectRatio?
Section titled “aspectRatio?”
optionalaspectRatio?: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
Section titled “Default”{ attribute: "aspectRatio", default: 1 }cornerRadius?
Section titled “cornerRadius?”
optionalcornerRadius?:ValueSource<number>
Defined in: packages/sigma/src/rendering/nodes/shapes/rectangle.ts:20
rotation?
Section titled “rotation?”
optionalrotation?:ValueSource<number>
Defined in: packages/sigma/src/rendering/nodes/shapes/rectangle.ts:21