Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

EdgeLabelPosition

EdgeLabelPosition = "over" | "above" | "below" | "auto"

Defined in: packages/sigma/src/types.ts:353

Position of an edge label relative to the edge path.

  • “over”: Centered on the path centerline
  • “above”: Above the edge (perpendicular offset)
  • “below”: Below the edge (perpendicular offset)
  • “auto”: GPU determines above/below based on which node is leftmost on screen