Change position of nodes with source code

I need to change the position of nodes with my source code but i don’t know.
Is possible?

Do you mean replace some nodes like with drag-n-drop?

No, without drag& drop.

I need to push some nodes in particular positions with a method.

I understood.
Use the method moveItem() … t_moveitem