render undirected graphs in the terminal