add ability to write gml graphs with tuple nobj