I should not have merged the graph parser with the graph