Parser supports NetworkX dumps and a larger subset of the DOT spec