Automatic linking nodes on Drag-Drop From Palette to Diagram

Could anyone please suggest me a way to auto connect the nodes (ports) that is dropped in design area, to other existing Nodes (already available in design area) ?

In an “ExternalObjectsDropped” DiagramEvent listener, or in a GraphObject.mouseDrop event handler, add whatever links you want.

There are a couple examples in http://gojs.net/latest/samples/flowgrammer.html

Thanks! Walter …