Skip to content

SELF_CONNECTING_EDGE_LABEL_OFFSET

const SELF_CONNECTING_EDGE_LABEL_OFFSET: 48 = 48

Vertical distance (px) between the source node’s top edge and the apex of a self-connecting edge’s loop. The apex is derived from the node’s own top edge, so the offset holds for any node height and wherever the node puts its ports. Also drives where the edge’s label sits on a self-connecting edge.