Builds a reactive dependency graph from the reactive log.
getReactGraph(session = shiny::getDefaultReactiveDomain())
| session | A Shiny session object or session ID. Defaults to the current
session. If |
|---|
A reactive graph object for the Shiny session.
Reactive event logging must be enabled to build graphs:
options(shiny.reactlog = TRUE) or enableReactLog()
To clear the reactive graph, start a new R session or call clearReactLog().
A reactive graph object is created when getReactGraph() is first
called for a Shiny user session. On subsequent calls to getReactGraph(),
the same graph is retrieved and automatically updated rather than being
completely rebuilt.