Output and render functions for using sigmajs within Shiny applications and interactive Rmd documents.
sigmajsOutput(outputId, width = "100%", height = "400px")renderSigmajs(expr, env = parent.frame(), quoted = FALSE)
sigmajsProxy(id, session = shiny::getDefaultReactiveDomain())
output variable to read from
Must be a valid CSS unit (like '100%'
,
'400px'
, 'auto'
) or a number, which will be coerced to a
string and have 'px'
appended.
An expression that generates a sigmajs
The environment in which to evaluate expr
.
Is expr
a quoted expression (with quote()
)? This
is useful if you want to save an expression in a variable.
A valid shiny session.