caugi_layout_circle: Circle Layout

View source: R/layout.R

caugi_layout_circleR Documentation

Circle Layout

Description

Computes node coordinates by placing nodes evenly along the perimeter of a circle. The first node is placed at the top of the circle, and subsequent nodes proceed counter-clockwise. Edge structure is ignored. Works with all edge types and produces deterministic results.

Usage

caugi_layout_circle(x, ...)

Arguments

x

A caugi object.

...

Ignored. For future extensibility.

Value

A data.frame with columns name, x, and y containing node names and their coordinates.

See Also

Other plotting: add-caugi_plot-caugi_plot, caugi_layout(), caugi_layout_bipartite(), caugi_layout_fruchterman_reingold(), caugi_layout_kamada_kawai(), caugi_layout_sugiyama(), caugi_layout_tiered(), caugi_plot(), divide-caugi_plot-caugi_plot, plot.caugi()

Examples

cg <- caugi(
  A %-->% B,
  B %-->% C,
  C %-->% D,
  D %-->% A
)
layout <- caugi_layout_circle(cg)


caugi documentation built on Oct. 28, 2026, 1:07 a.m.