Skip to content
  1. Examples
  2. Layers
  3. Text on edge extremities

Text on edge extremities ​

This example shows how to display texts at the edges' extremities with the sourceText and targetText EdgeAttributes. Besides the usual text styling, use position ('center', 'top' or 'bottom') to shift the text off the edge line, offset to move it along the edge and margin to control its gap to the edge.