Skip to content

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

@schloerke

Description

@schloerke

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:

  • Be able to expand and show contents
  • Be able to collapse to hide contents
  • Have any outside parent nodes be parents
  • Have any downstream children be children

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions