Skip to content

pathLine

pathLine(): EdgePath

Defined in: packages/sigma/src/rendering/edges/paths/line.ts:20

Creates a straight line edge path.

Line edges are the most efficient, rendered as a single quad (6 vertices). All path functions have closed-form solutions.

Returns

EdgePath

EdgePath definition for straight lines