Add node ranking to GraphML output