render_node: Render nodes with different aesthetic

render_nodeR Documentation

Render nodes with different aesthetic

Description

Render nodes with different aesthetic

Usage

render_node(
  data,
  method = "polygon",
  radius = 0,
  xlim = NULL,
  ylim = NULL,
  margin = 0
)

Arguments

data

a dataframe of objects coordinates produced by gen_node() function

method

method used to render objects.

  • "spline" render paths using B-splines.

  • "segment" render leaf as a polygon with border and visible segments.

  • "polygon" render closed path using geom_shape().

radius

radius of polygon smoothing

xlim, ylim

limits passed to coord_fixed()

margin

margins passed to theme()

Value

a ggplot object


picasa/generate documentation built on Feb. 28, 2025, 6:51 a.m.