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

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.

SquareExtremityOptions

EdgeExtremity