get adjacency graph

adjacency(x, attr, ...)

Arguments

x

graph structure

...

extra args

weights

a character string indicating the edge attribute in the igraph object for the weights. If absent, weights are 0, 1.