generate GraphML for a KAM

This is hacky. I couldn't find any decent GraphML Java libraries to
generate very large graphs without (1) eating every byte of memory I had,
(2) finish in a reasonabe amount of time, (3) produce the GraphML
fidelity I was after. -1 Java