StepCurvedPathOptions
Defined in: packages/sigma/src/rendering/edges/paths/stepCurved.ts:17
Options for step curved path creation.
Properties
cornerRadius?
optionalcornerRadius?:number
Defined in: packages/sigma/src/rendering/edges/paths/stepCurved.ts:48
Corner radius as fraction of the shortest segment. Clamped to avoid overlapping corners. Default: 0.4
offset?
optionaloffset?:number
Defined in: packages/sigma/src/rendering/edges/paths/stepCurved.ts:41
Position of the middle segment as ratio [0-1]. 0 = at source, 0.5 = centered, 1 = at target. Default: 0.5
orientation?
optionalorientation?:number|"horizontal"|"vertical"|"automatic"
Defined in: packages/sigma/src/rendering/edges/paths/stepCurved.ts:26
Path orientation preference.
- “horizontal”: Always go horizontal first (H→V→H)
- “vertical”: Always go vertical first (V→H→V)
- “automatic”: Choose based on which delta is larger (abs(dx) vs abs(dy))
- number: Fixed angle in radians for the first/last segments Default: “automatic”
rotateWithCamera?
optionalrotateWithCamera?:boolean
Defined in: packages/sigma/src/rendering/edges/paths/stepCurved.ts:34
Whether edges rotate with camera or stay screen-aligned.
- false: Edges stay horizontal/vertical on screen
- true: Edges rotate with the graph (world-aligned) Default: false