qgraph_cent_to_edge_simple: qgraph Point on Node Boundary

View source: R/sonplot-qgraph-geometry.R

qgraph_cent_to_edge_simpleR Documentation

qgraph Point on Node Boundary

Description

Simplified boundary calculation for splot that approximates qgraph behavior while working with cograph's coordinate system.

Usage

qgraph_cent_to_edge_simple(x, y, angle, node_size, shape = "circle")

Arguments

x

Node center x coordinate.

y

Node center y coordinate.

angle

Angle to target (radians).

node_size

Node radius in user coordinates.

shape

Node shape.

Value

List with x, y coordinates on boundary.


cograph documentation built on April 1, 2026, 1:07 a.m.