shinyCyJS | R Documentation |
generate canvas with given network element and options
shinyCyJS(
elements = list(),
options = list(),
layout = list(name = "cose"),
width = NULL,
height = NULL,
elementId = NULL,
...
)
elements |
node and edge objects, it should be list of element. |
options |
rendering / interaction options, can be created with buildIoption(), buildRoption() |
layout |
list type layout, it must be contain name and other optional values |
width |
canvas width. |
height |
canvas height. |
elementId |
id used to identify in application. |
... |
other parameters |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.