MindFusion.Diagramming for JavaScript Programmer's Guide

Events Members

Fields
 


Defines all events raised by the Diagram component.

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

 Public Fields

  Name Description

containerChildAdded

Raised when the user adds a node to a ContainerNode.

containerChildRemoved

Raised when the user removes a node from a ContainerNode.

containerFolded

Raised when the user folds a container by clicking the arrow-up button in the container's caption area.

containerUnfolded

Raised when the user unfolds a container by clicking the arrow-down button in the container's caption area.

linkClicked

Raised when the user clicks a link. The event handlers get a LinkEventArgs instance that contains data for this event.

linkCreated

Raised when the user draws a new link. The event handlers get a LinkEventArgs instance that contains data for this event.

linkCreating

A validation event raised while the user is drawing a new link. The event handlers get a LinkEventArgs instance that contains data for this event.

linkDeleted

Raised when a link is deleted, either programmatically or by the user. The event handlers get a LinkEventArgs instance that contains data for this event.

linkDeleting

Raised when the user tries to delete a link, this event lets you cancel the operation. The event handlers get a LinkEventArgs instance that contains data for this event.

linkModified

Raised when the user moves any control point of a link. The event handlers get a LinkEventArgs instance that contains data for this event.

linkModifying

A validation event raised while the user is modifying a link. The event handlers get a LinkEventArgs instance that contains data for this event.

linkTextEdited

Raised when the user edits the text of a link. The event handlers get a LinkEventArgs instance that contains data for this event.

nodeClicked

Raised when the user clicks a node. The event handlers get a NodeEventArgs instance that contains data for this event.

nodeCreated

Raised when the user draws a new node. The event handlers get a NodeEventArgs instance that contains data for this event.

nodeCreating

A validation event raised while the user is drawing a new node. The event handlers get a NodeEventArgs instance that contains data for this event.

nodeDeleted

Raised when a node is deleted, either programmatically or by the user. The event handlers get a NodeEventArgs instance that contains data for this event.

nodeDeleting

Raised when the user tries to delete a node, this event lets you cancel the operation. The event handlers get a NodeEventArgs instance that contains data for this event.

nodeModified

Raised when the user moves or resizes a node. The event handlers get a NodeEventArgs instance that contains data for this event.

nodeModifying

A validation event raised while the user is moving or resizing a node. The event handlers get a NodeEventArgs instance that contains data for this event.

nodeTextEdited

Raised when the user edits the text of a node. The event handlers get a NodeEventArgs instance that contains data for this event.

repaint

Raised when the diagram has been repainted.

selectionModifying

A validation event raised while the user is moving or resizing multiple items. The event handlers get a NodeEventArgs instance that contains data for this event.

sizeChanged

Raised when the size of the diagram canvas has changed.

treeCollapsed

Raised when a user collapses a tree branch by clicking the [-] button of an Expandable node. The event handlers get a NodeEventArgs instance that contains data for this event.

treeExpanded

Raised when a user expands a tree branch by clicking the [+] button of an Expandable node. The event handlers get a NodeEventArgs instance that contains data for this event.

 See Also