Extract labels for the nodes and edges of the directed graph.

node.labels(edges)

edge.labels(edges, reverse = F)

Arguments

edges

an edge list

reverse

reverse the direction of edges

Value

Return a vector of node or edge labels

Details

These functions construct meaningful labels for the nodes and edges from an edge list.