Represents a set of items selected in the Diagram document.
Namespace: MindFusion.Diagramming
Package: Selection.js
JavaScript Copy Code |
---|
// class |
Several diagram items could be selected simultaneously. If more than one item is selected, the compound set of selected items is handled by an instance of the Selection class, returned by diagram's selection property. Items in the selection can be of any element type. The items property returns an array of all items, while more specific types are returned by links and nodes properties.
MindFusion.Diagramming.DiagramItem
MindFusion.Diagramming.Selection
NetDiagram Programmer's Guide | © 2023 MindFusion |