Add support for parsing multiple dot graphs in the same file

Fixes #74