Learn R Programming

caugi (version 1.0.0)

makeContent.caugi_edge_grob: 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 caugi_edge_grob
makeContent(x)

Value

The modified grob with children set to the adjusted line

Arguments

x

A caugi_edge_grob object