Create collapsible tree network diagrams.
treeNetwork(
data,
width = NULL,
height = NULL,
treeType = "tidy",
direction = "right",
linkType = "diagonal",
defaults = NULL,
mouseover = "",
mouseout = "",
inbrowser = FALSE,
...
)
a tree network description in one of numerous forms (see details)
numeric width for the network graph's frame area in pixels
height for the network graph's frame area in pixels
character specifying the tree layout type. Options are 'tidy' and 'cluster'.
character specifying the direction in which the tree layout shoud grow. One of 'right', 'left', 'down', 'up', or 'radial'
character specifying the link type between points. Options are 'elbow' and 'diagonal'.
named character vector specifying custom default node and link formatting options
character specifying JavaScript code to be run on mouseover events
character specifying JavaScript code to be run on mouseout events
logical specifying to open the plot in a new browser window
other arguments that will be passed on to as_treenetdf