How to get multiple node data using mouse selection

How to get selected nodes data and event through mouse selection ?

The standard configuration of each Diagram has a DragSelectingTool that allows the user to draw that magenta box to select the nodes and links within the rectangle upon mouse-up. and

You can then get the selected parts in the Diagram.selection collection. and