Calculates the point where an edge should meet the node border. Uses plain NPC units to match circleGrob borders.
edge_endpoint(
node_x,
node_y,
other_x,
other_y,
node_size,
shape = "circle",
x_scale = 1,
y_scale = 1
)List with x, y coordinates in npc.
Node center in npc.
Other endpoint in npc.
Node radius in npc units.
Node shape.
Aspect ratio correction factors.