Renders a self-loop (edge from node to itself) using a teardrop/circular loop shape similar to qgraph.
draw_self_loop_base(
x,
y,
node_size,
col = "gray50",
lwd = 1,
lty = 1,
rotation = pi/2,
arrow = TRUE,
asize = 0.02,
arrow_angle = pi/6
)Node center coordinates.
Node radius.
Loop color.
Line width.
Line type.
Angle in radians for loop direction (default: pi/2 = top).
Logical: draw arrow?
Arrow size.
Arrow head angle in radians. Default pi/6 (30 degrees).