Issue #320 Fix broken DOT parser: The original parser will ignore single node, which would make the parser confused when parsing the rest of the file.
Merge pull request #773 from ZiyaoWei/master

Bug fix for Issue #320.