getReactGraph: Get the reactive graph

Description Usage Arguments Details Value Note

View source: R/graph.R

Description

Builds a reactive dependency graph from the reactive log.

Usage

1
getReactGraph(session = shiny::getDefaultReactiveDomain())

Arguments

session

A Shiny session object or session ID. Defaults to the current session. If NULL or no current session, the most recently active session is used.

Details

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().

Value

A reactive graph object for the Shiny session.

Note

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.


glin/reactlog documentation built on May 29, 2019, 5:58 p.m.