style(export-graphs): adds some comments and makes small improvements