Creates a new Graph which is afterwards accessible via .current_descriptor().
The graph is automatically removed when exiting the current scope.
After the graph is either cleaned up automatically (by exiting the scope)
or finalized, the previously built graph is restored,
i.e., accessible via .current_descriptor().
Usage
local_descriptor(..., envir = parent.frame())Arguments
- ...
(
any)
Additional arguments to pass to theGraphDescriptorconstructor.- envir
(
environment)
Environment where exit handler will be registered for cleaning up theGraphif it was not returned yet.
Value
A Graph object.