Parse ASCII art diagrams of graphs (nodes and edges)