I have created a graph using python-igraph (using python 3.4) and I am trying to access a specific node outdegree using the following line of code:
graph.vertex(i).out_degree()
I have found this code on stackoverflow and I was hoping that this is going to work but I keep receiving an error:
AttributeError: 'Graph' object has no attribute 'vertex'
I would really appreciate your help.
Thanks