pathLine
pathLine():
EdgePath
Defined in: packages/sigma/src/rendering/edges/paths/line.ts:29
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 definition for straight lines
Example
const EdgeLineProgram = createEdgeProgram({ paths: [pathLine()], extremities: [extremityNone()], layers: [layerPlain()],});