arcdiagram (version 0.1.11)

graph_info: Graph Information

Description

Gets graph information

Usage

graph_info(edgelist, vertices, sorted = FALSE, decreasing = FALSE, ordering = NULL, labels = NULL)

Arguments

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