Parser adds edges to the graph