building graphml files in after-compile hook