Changed unique ids for nodes and nodetypes so they correspond to node DOM ids.
Merge branch 'master' of https://github.com/m73/diagrammy