Godiagramming

how to set autolayout of the diagram is there any property by setting the same we can set the autolayout of the diagram.

No, there’s nothing automatic, you have to call your Layout routine as appropriate for things like when a node/link is added/removed.