Description Usage Arguments Value
Turn a GraphViz DOT graph into a subgraph
1 | gf_createSubgraph(graph, subGraphName = "")
|
graph |
A DiagrammeR graph object created using the create_graph() method. We need only the $dot_code portion |
subGraphName |
Optional string for the name of the subgraph; No spaces |
DOT of the graph but packaged as a subgraph
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.