addGraphFromDataFrame | R Documentation |
Add graph from data.frame
addGraphFromDataFrame(session, tbl.edges, tbl.nodes = NULL)
session |
a Shiny Server session object. |
tbl.edges |
a data.frame with source, traget, interaction columns (and option other attributes) |
tbl.nodes |
(optional; nodes can be deduced from tbl.edges) a data.frame with nodes and their attributes |
Nothing
## Not run:
addGraphFromDataFrame(session)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.