Select ports with DragselectingTool

In Selectable Ports, we can click to select the port.
but if there are many ports on the nodes, I want to use DragSelectingTool to select multiple ports at one time. Can I do it ? and How ?
any example to show it?

thanks