GraphML — is an XML-based file format for graphs. It is supported by many applications for viewing it.
For example, you can use yEd to view graphML file and modify it as you want.