plot.cranly_dependence_tree: Interactive visualization of package(s) dependence tree from...

View source: R/plot_tree.R

plot.cranly_dependence_treeR Documentation

Interactive visualization of package(s) dependence tree from a cranly_network

Description

Interactive visualization of package(s) dependence tree from a cranly_network

Usage

## S3 method for class 'cranly_dependence_tree'
plot(
  x,
  physics_threshold = 200,
  height = NULL,
  width = NULL,
  dragNodes = TRUE,
  dragView = TRUE,
  zoomView = TRUE,
  legend = TRUE,
  title = TRUE,
  plot = TRUE,
  ...
)

Arguments

x

a cranly_dependence_tree object.

physics_threshold

integer. How many nodes before switching off physics simulations for edges? Default is 200. See, also visNetwork::visEdges().

height

: Height (optional, defaults to automatic sizing)

width

: Width (optional, defaults to automatic sizing)

dragNodes

logical. Should the user be able to drag the nodes that are not fixed? Default is TRUE.

dragView

logical. Should the user be able to drag the view around? Default is TRUE.

zoomView

logical. Should the user be able to zoom in? Default is TRUE.

legend

logical. Should a legend be added on the resulting visualization? Default is TRUE.

title

logical. Should a title be added on the resulting visualization? Default is TRUE.

plot

logical. Should the visualization be returned? Default is TRUE.

...

currently not used.

See Also

compute_dependence_tree() build_dependence_tree.cranly_network()


cranly documentation built on Aug. 27, 2022, 1:07 a.m.