When I use the degree(graph) function from the igraph package in R, the output comes up with the name of the vertex and its respective value, however, when I run the transitivity(graph, type = "local") function from the same package, the output is a list without names, I can't tell which node each value corresponds to.
I expected the output of the transitivity(graph, type = "local") function to be accompanied by the name of the vertices.
The result is always in the same order as the
vid
parameter you specified, or ifvid
is left at its default value, then in the same order as the vertex list returned byV(g)
.This is true for all igraph functions, without exceptions.