The last three styles (the 3d styles) have repaiting issues. By doing
g.nodes.style = 8
g.nodes.style = 9
g.nodes.style = 1
it does not go back to 1, but instead has 9 drawn over 8 (looks like circle over a square). Then the dragging behaviour is very weird.
picture shows the mulltiple nodes drawn for a single node (pretty much every label 'should' be unique), but there are a number of doubles.