Gets graph information
graph_info(edgelist, vertices, sorted = FALSE,
decreasing = FALSE, ordering = NULL, labels = NULL)
basically a two-column matrix with edges
(see graph
)
optional vector of vertex names corresponding with those in the edgelist
logical to indicate if nodes should be
sorted (default FALSE
)
logical to indicate type of sorting
(used only when sorted=TRUE
)
optional numeric or string vector
providing the ordering of nodes. When provided, this
parameter overrides sorted=TRUE
). See the details
section for more information.
optional string vector with labels for the nodes