Output igraph directly