Defines values that specify how the component responds to actions performed by the user.
Namespace: MindFusion.Diagramming
File: Enum.js
JavaScript Copy Code |
---|
// enum |
Member name | Description | |
---|---|---|
Custom |
Drawing with the mouse creates instances of the type assigned to CustomNodeType. |
|
DoNothing |
The control ignores users actions with the mouse, but raises the appropriate mouse events. This mode allows applications to implement their own mouse-drawing behavior, disabling the default response to users actions. |
|
DrawContainers |
Drawing with the mouse creates ContainerNode instances. |
|
DrawControls |
Drawing with the mouse creates ControlNode instances. |
|
DrawFreeForms |
Drawing with the mouse creates FreeFormNode instances. |
|
DrawFreeShapes |
Points from user input are shown using a FreeFormNode instance. Once the user finishes drawing, the FreeFormNode is replaced by a ShapeNode with a matching shape from Diagram.FreeFormTargets list. |
|
DrawLinks |
Drawing started over a node creates a DiagramLink. Otherwise a lasso rectangle is displayed allowing the selection of items. |
|
DrawShapes |
Drawing with the mouse creates ShapeNode instances. |
|
DrawSvgNodes |
Drawing with the mouse creates SvgNode instances. |
|
DrawTables |
Drawing with the mouse creates TableNode instances. |
|
DrawTreeViews |
Drawing with the mouse creates TreeViewNode instances. |
|
LinkContainers |
Drawing over empty document area creates a ContainerNode instance. Drawing started over a node creates a DiagramLink. |
|
LinkControls |
Drawing over empty document area creates a ControlNode instance. Drawing started over a node creates a DiagramLink. |
|
LinkFreeForms |
Drawing over empty document area creates a FreeFormNode instance. Drawing started over a node creates a DiagramLink. |
|
LinkFreeShapes |
Points from user input are shown using a FreeFormNode instance. Once the user finishes drawing, the FreeFormNode is replaced by a ShapeNode with a matching shape from Diagram.FreeFormTargets list. Drawing started over a node creates a DiagramLink. |
|
LinkShapes |
A mode that is suitable for creating flowcharts and process diagrams. Drawing over empty document area creates a ShapeNode instance. Drawing started over a node creates a DiagramLink. |
|
LinkSvgNodes |
Drawing over empty document area creates an SvgNode instance. Drawing started over a node creates a DiagramLink. |
|
LinkTables |
A mode that is suitable for creating entity-relationship diagrams. Drawing over empty document area creates a TableNode instance. Drawing started over a node creates a DiagramLink. |
|
LinkTreeViews |
Drawing over empty document area creates a TreeViewNode instance. Drawing started over a node creates a DiagramLink. |
|
Magnify |
Dragging the mouse magnifies the view. Modifying them or drawing new ones is disabled. |
|
Modify |
Objects can be selected and modified. New objects cannot be created. |
|
MoveLabels |
Dragging with the mouse moves an ItemLabel at mouse pointer's location. |
|
MoveNodes |
Dragging with the mouse moves the node under mouse pointer. |
|
Pan |
Dragging with depressed mouse button pans the view. |
|
PanAndModify |
Items can be selected and modified. New items cannot be created, and dragging without grabbing an adjustment handle pans the view. |
|
SelectOnly |
Allow only selection of existing items. Modifying them or drawing new ones is disabled. |
|
Zoom |
Dragging with the mouse draws a lasso tool that zooms the DiagramView to selected rectangular area. |
Members of this enumeration can be assigned to the behavior property of DiagramView.