extract_geom_params: Extract Geom Parameters from ggproto Object
Description
Dynamically extracts parameter information from a ggplot2 geom.
This handles the "scattered definitions" problem by reading from source.
Usage
extract_geom_params(geom_name)
Value
List with default_aes, required_aes, optional_aes, extra_params.
Arguments
- geom_name
Name of the geom (e.g., "point", "line").