Editing State Machines Using python?

I have many anim to edit state machines.So I want to replace some of my work with python.
But I can`t find function to add a graph node to machines.
For exmple,set UEdGraphNode.NodePosX = 10 in python.

For exmple, set UEdGraphNode.NodePosX in python.