Skip to content
sigma.js sigma.js
v4.0.6 Docs Examples GitHub 12.2K

EdgeLabelPosition

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

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

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”: Above or below, whichever is on top on screen