Hi all,
I am working on a project which is based on flow diagram like this,
target.JPG

I know that I can drag and drop objects by DnD API but how can I connect them ?

I wish that each object(component part) should have desired connectors placing mouse on a connector and then dragging draws a wire and clicking on another connector joins the two.

Please help me to build such type of operation/feature.

I am in a great need please help me
thanks in advance.