Maybe I don't understand, but I don't want to extend an existing module. I'm searching for a module that will create GraphML.
I read a GraphML file which I use as a kind of template, with XML::Twig. Cut out all the nodes and sub graphs which I copy, modify and paste it back in.