create_graph | R Documentation |
Create empty graph
create_graph(directed = TRUE)
directed |
create directed graph |
Internally the graph is always stored as a directed graph. The option to specify that the graph is undirected has mainly effect when adding edges: when the edge A->B is added, the edge B->A is also added automatically.
An object of type chickenwire
which is a graph. In this case an empty
graph to which edges and vertices can be added using add_edges
and add_vertices
. See those functions for examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.