R/gui-shiny_input.R

Defines functions shiny_input_dm_nodes_edges

shiny_input_dm_nodes_edges <- function(x, session, name) {
  # The client shouldn't have to deal with that (and I wonder why we need to
  # do this here even).
  x$nodes <- unlist(x$nodes)
  x$edges <- unlist(x$edges)
  x
}
krlmlr/dm documentation built on April 19, 2024, 5:23 p.m.