CurvedSPathOptions
Defined in: packages/sigma/src/rendering/edges/paths/curvedS.ts:17
Options for S-curve path creation.
Properties
curveOffset?
optionalcurveOffset?:number
Defined in: packages/sigma/src/rendering/edges/paths/curvedS.ts:48
How far control points extend from source/target, as a ratio of edge length. Higher values create more pronounced curves. Default: 0.5
curvePosition?
optionalcurvePosition?:number
Defined in: packages/sigma/src/rendering/edges/paths/curvedS.ts:55
Position of the inflection point along the curve [0-1]. 0.5 = centered S-curve, other values create asymmetric curves. Default: 0.5
orientation?
optionalorientation?:number|"horizontal"|"vertical"|"automatic"
Defined in: packages/sigma/src/rendering/edges/paths/curvedS.ts:33
Path orientation preference.
- “horizontal”: Control points extend horizontally (H-like curve)
- “vertical”: Control points extend vertically (V-like curve)
- “automatic”: Choose based on which delta is larger (abs(dx) vs abs(dy))
- number: Fixed angle in radians for control point direction Default: “automatic”
rotateWithCamera?
optionalrotateWithCamera?:boolean
Defined in: packages/sigma/src/rendering/edges/paths/curvedS.ts:41
Whether edges rotate with camera or stay screen-aligned.
- false: Curves stay horizontal/vertical on screen
- true: Curves rotate with the graph (world-aligned) Default: false
segments?
optionalsegments?:number
Defined in: packages/sigma/src/rendering/edges/paths/curvedS.ts:23
Number of segments for tessellation. Higher values = smoother curve but more vertices. Default: 16