Appearance
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.