After calling setPos on a Node, the edge does not redraw or calcPath

I'm calling setPos on my nodes as my nodeeditor has a "clean up diagram" function which automatically moves around the nodes. However it seems when setPos is called, the edges don't move and so they are where they were before. I fix this by externally to the function doing:

            for inputs in node.inputs:
                for edge in inputs.edges:
                    edge.grEdge.calcPath()
                    edge.updatePositions()
            for outputs in node.outputs:
                for edge in outputs.edges:
                    edge.grEdge.calcPath()
                    edge.updatePositions()

So you could put something similar into the setPos function replacing node for self. I'll submit a merge request once I've had an opportunity.