Added function: save to GraphML file