1) Command:

//disconnect two task node

pmb.Disconnect( "003" , "005" )

.Update();

2) Graphical example after command execution:

https://img2018.cnblogs.com/blog/808949/201911/808949-20191129155446461-570132965.png