makeContent.caugi_edge_grob: Make Content for Custom Edge Grob

View source: R/plot-grobs.R

makeContent.caugi_edge_grobR Documentation

Make Content for Custom Edge Grob

Description

This S3 method for grid::makeContent handles dynamic edge endpoint calculation at draw time. It converts edge direction to absolute coordinates (mm) to properly handle aspect ratio, then applies node radius offsets before converting back to native coordinates.

Usage

## S3 method for class 'caugi_edge_grob'
makeContent(x)

Arguments

x

A caugi_edge_grob object

Value

The modified grob with children set to the adjusted line


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