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.