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

pathCurved

pathCurved(options?): EdgePath

Defined in: packages/sigma/src/rendering/edges/paths/curved.ts:31

Creates a simple curved edge path (single arc).

The curve is controlled by a single control point positioned perpendicular to the midpoint of the straight line between source and target. The curvature parameter controls how far this control point is from the midpoint.

CurvedPathOptions

Path configuration

EdgePath

EdgePath definition for curved edges