rstudio / reactlog

Shiny Reactivity Visualizer
http://rstudio.github.io/reactlog
Other
123 stars 9 forks source link

Nodes should be grouped in "super nodes" that can expand and collapse #55

Open schloerke opened 5 years ago

schloerke commented 5 years ago

Things like renderPlot should not create 5 nodes on the screen by default. Instead, it should be one super node that contains all 5 nodes.

Super nodes should:

In the case of a deduper where

deduper <- function(x, label) {
  res <- reactiveVal(x, label = label, node_group = "deduper")
  observe(label = "obs_x", node_group = "deduper", {
    res(x())
  })
  res
}
y <- deduper(x, label = "y")

where it would show graph

x -> deduper -> y -> etc

and not graph

x -> obs_x
y -> etc