added graphml stuffs for better graphml file generation