igraph package - understanding basic commands