Key Generation for Links and Nodes

I am interested in creating a custom key genereation. Currently the behaviour is

KeyName (start)
KeyName2 (add)
KeyName3 (add)
If I start with a number it auto numbers.
KeyName4 (start)
KeyName5 (add)
KeyName6 (add)
Any suggestions on the options available to plugin a custom generation?
Thank you,
Pavel

GoDiagram already supports unique keys… see the “Supporting Save and Load” section of the User Guide for information on PartID and GoDocument.MaintainsPartID.