Creates an htmlwidget that renders a GEXF file using the bundled gexf-js library.
Usage
gexfjs(
gexf = system.file("gexf-graphs/lesmiserables.gexf", package = "rgexf"),
width = "100%",
height = "400px"
)
gexfjsOutput(outputId, width = "100%", height = "400px")
renderGexfjs(expr, env = parent.frame(), quoted = FALSE)Arguments
- gexf
Either a
gexfobject, or a path to a.gexffile. Defaults to the bundled Les Miserables example.- width, height
Widget dimensions. Default to
"100%"width and"400px"height, so the widget spans the full available width.- outputId
Shiny output ID.
- expr
An expression that returns a
gexfjswidget.- env
The environment in which to evaluate
expr.- quoted
Logical scalar. Is
expra quoted expression?