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

extremitySquare

extremitySquare(options?): EdgeExtremity

Defined in: packages/sigma/src/rendering/edges/extremities/square.ts:26

Creates a square extremity (filled square/rectangle).

The square extends from x=0 to x=lengthRatio and from y=-widthRatio/2 to y=widthRatio/2.

Parameters

options?

SquareExtremityOptions

Returns

EdgeExtremity