pathCurvedS
pathCurvedS(
options?):EdgePath
Defined in: packages/sigma/src/rendering/edges/paths/curvedS.ts:76
Creates an S-curve edge path using cubic Bézier.
The path is a cubic Bézier curve with control points positioned to create smooth S-shaped transitions similar to step paths but without sharp corners.
Parameters
options?
Path configuration
Returns
EdgePath definition for S-curve paths
Example
const EdgeCurvedSProgram = createEdgeProgram({ paths: [pathCurvedS({ curveOffset: 0.4 })], extremities: [extremityNone(), extremityArrow()], layers: [layerPlain()],});