MindFusion.Diagramming for JavaScript Programmer's Guide

Selection Members

Constructors Fields Methods
 


Represents a set of items selected in the Diagram document.

The following tables list the members exposed by the Selection type.

 Public Constructors

  Name Description

Selection

Initializes a new instance of the Selection class.

 Public Fields

  Name Description

items

A list of DiagramItem objects.

links

A list of DiagramLink objects.

nodes

A list of DiagramNode objects.

 Public Methods

  Name Description

addItem

Adds an item to the Selection.

clear

Removes all items from the selection.

endDrag

DiagramItem.endDrag override.

removeItem

Removes an item from the Diagram.

startDrag

DiagramItem.startDrag override.

updateDrag

DiagramItem.updateDrag override.

 See Also