Description Usage Arguments Examples
Works well for 3-5 nodes
1 | draw_graph(graph, labels)
|
graph |
The adjacency matrix of the graph you want drawn |
labels |
The names for the nodes in the graph |
1 | draw_graph(matrix(c(0,1,1,0,0,0,0,0,0),3,3, byrow=T), c('A','B','C'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.