changed igraph import