import igraph object from plain text data