MindFusion.Diagramming for JavaScript Programmer's Guide
MindFusion.Diagramming Namespace
Classes Enumerations
 

 Classes

  Class Description

AddItemCommand

Implements creation of new diagram items.

AeroEffect

Represents an effect that adds semitransparency to the node and emphasizes its outline by adding a shade and an inner stroke.

AnchorPattern

The AnchorPattern class represents a set of anchor points, which specify the exact locations where links are allowed to connect to nodes.

AnchorPoint

The AnchorPoint class represents a location in a node to which links are allowed to connect.

BehaviorBase

An abstract base class for types that define how the control reacts to users' actions with a mouse or other pointing devices.

Cell

Represents a cell of a TableNode.

CellEventArgs

Contains the arguments passed to handlers of table cell -related events.

CellValidationEventArgs

Contains the arguments passed to handlers of table row and column resizing related events.

ChangeItemCommand

Handles undo / redo of property changes.

Command

Represents an action that changes the diagram and whose effects can be undone.

CompositeCommand

Represents a set of Command instances as a single operation. Undoing or redoing the composite action, respectively undoes or redoes all its constituent subactions at the same time.

ConnectionPoint

A class that represents a connection between an edge and a node in a graph. It decouples the DiagramLink class from the DiagramNode class, allowing edges to connect different types of nodes without knowing anything of their implementation details. Each DiagramLink object contains two ConnectionPoint instances describing the connections at both ends of the link.

ContainerNode

ContainerNode instances are diagram nodes that can contain other nodes.

Diagram

The Diagram class represents a flow diagram.

DiagramEventArgs

Contains the arguments passed to handlers of global diagram events such as clicked.

DiagramItem

Represents an item in the diagram document. All classes representing diagram elements derive from DiagramItem.

DiagramLink

Represents a link between two diagram nodes.

DiagramNode

DiagramNode is an abstract base class from which specific types such as ShapeNode and TableNode derive. DiagramNode instances can represent graph vertices, nodes in organizational or flow diagrams, entities in ER diagrams, and so on.

DoNothingBehavior

Implements the DoNothing behavior.

DrawLinksBehavior

This class is used when the diagram behavior is set to Behavior.DrawLinks.

DrawNodesBehavior

The base class for behavior types that allow drawing of nodes, but not links.

DrawShapesBehavior

This class is used when the diagram behavior is set to Behavior.DrawShapes.

DummyNode

DummyNode represents virtual nodes set as targets of disconnected links.

Events

Defines all events raised by the Diagram component.

Factory

Provides shortcut methods for creating and adding instances of the standard item types.

FoldContainerCommand

Handles undo / redo of container folding.

FreeFormNode

A FreeFormNode collects all points from users' mouse or touch input and displaysthem as node's outline.

GlassEffect

Represents a glass-like visual effect.

InplaceEditEventArgs

Contains the arguments passed to handlers of inplace edit related events.

Interaction

Encapsulates the current state of user interaction with the control.

InteractionState

Encapsulates the current state of user interaction with the control.

LinkEventArgs

Contains the arguments passed to handlers of link-related events.

LinkLabel

Represents a label displayed by a DiagramLink. New labels can be added to a link by calling its addLabel method.

LinkNodesBehavior

The base class for behavior types that allow drawing both nodes and links.

LinkShapesBehavior

This class is used when the diagram behavior is set to Behavior.LinkShapes.

MagnifyBehavior

This class is used when the diagram behavior is set to Behavior.Magnify.

Manipulator

Manipulator is an abstract base class which defines the behavior of miscellaneous UI widgets attached to nodes.

ModifierKeyActions

Maps keyboard modifier keys to special actions in MindFusion.Diagramming such as panning and drawing selection rectangle.

ModifyBehavior

This class is used when the diagram behavior is set to Behavior.Modify.

NodeEventArgs

Contains the arguments passed to handlers of node-related events.

NodeListView

ListBox control with support for hosting DiagramNodes and dragging them to the Diagram control. Items' labels can be set by assigning them to the Tag property of nodes.

Overview

The Overview control provides a scaled-down view of a Diagram contents and allows scrolling and zooming the diagram with the mouse.

PanBehavior

Pans the diagram when the users drags the mouse.

RemoveItemCommand

Implements deletion of diagram items.

ScrollTableCommand

Handles undo / redo of table scrolling.

Selection

Represents a set of items selected in the Diagram document.

SelectionEventArgs

Contains the arguments passed to handlers of selection-related events.

SelectOnlyBehavior

Allows only selection of existing items. Modifying them or drawing new ones is disabled.

SerializeTagEventArgs

Contains the arguments passed to the serializeTag and deserializeTag event handlers.

Shape

An instance of this class represents a shape defined through a series of arc, line and Bezier segments. The segments can be a part of the shape outline, in which case they define the part of the shape is filled, used for hit-testing and for aligning links to the node edges. Segments can also be added as decoration elements, in which case they only affect the appearance of a ShapeNode.

ShapeLibrary

The ShapeLibrary class represents a collection of shape definitions stored together.

ShapeNode

ShapeNode instances are diagram nodes that represent geometric shapes.

Shapes

Provides alternative methods of access to the predefined shapes.

Style

Represents a set of appearance properties whose values can be inherited from parent objects if not set locally for an item.

SvgContent

SvgContent represents the markup code of an SVG drawing.

SvgNode

SvgNode instances are diagram nodes that can render SVG drawings.

TableConnectionPoint

A class that represents a connection between an edge and a node in a graph.

TableNode

TableNode instances are diagram nodes that can be used to display tabular or list data.

Theme

Represents a set of Style objects whose properties are used to render items of a specific type in the current diagram.

XmlPersistContext

Contains helper methods for serialization of diagram contents to and from XML documents.

 Enumerations

  Enumeration Description

Action

Specifies the possible actions a user can carry out on diagram items.

AdjustmentHandles

Identifies the distinct selection handles of a node.

Alignment

Specifies the alignment of text relative to its layout rectangle.

AutoResize

Defines in which directions automatic resizing can enlarge the diagram scrollable area.

Behavior

Defines values that specify how the component responds to actions performed by the user.

CellFrameStyle

Specifies the style of the cells' frame lines.

ConnectionStyle

Specifies whether links should connect to a node or its rows.

DelKeyAction

Specifies the type of action performed when the user presses the DEL key.

EffectPhase

Specifies the rendering phase during which an effect application is requested.

FitSize

Specifies how the ResizeToFitText method should resize a node.

GlassEffectType

Specifies the type of a GlassEffect node effect.

GridStyle

Defines values that specify the visual style of the alignment grid.

HandlesStyle

Enumerates possible visual styles for frames and handles drawn around selected nodes.

ImageAlign

Specifies the position and alignment of a picture in a node, or that of the background image.

LinkCrossings

Defines values that indicate how to render link intersection points.

LinkShape

Specifies available styles for the segments of links.

LinkTextStyle

Specifies the position and alignment of links' labels.

MarkStyle

Specifies the visual style of anchor point marks.

ModificationStart

Specifies how the user can start modifying an item.

ModifierKeyAction

Defines the actions that can be assigned to a modifier key such as CTRL or ALT.

MouseButtonActions

Specifies what actions can be associated with the middle and right mouse buttons.

RelativeToLink

Specifies how the link labels are positioned.

ShadowsStyle

Enumerates possible shadows-drawing styles.

ShowAnchors

Specifies when anchors points should be displayed.

SimpleShape

Defines the possible values for Shape property of tables and containers.