is_multigraph | R Documentation |
A multigraph has at least one pair or multiple edges, edges connecting the same (ordered) pair of vertices.
is_multigraph(graph)
graph |
Input graph. |
Logical scalar.
Other multigraphs:
is_loopy()
,
is_simple()
,
remove_loops()
,
remove_multiple()
,
simplify()
G <- graph(list(A = c("A", "B", "B"), B = c("A", "C"), C = "A"))
is_multigraph(G)
G2 <- simplify(G)
is_multigraph(G2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.