MindFusion.Diagramming for JavaScript Programmer's Guide

MindFusion.Diagramming Namespace

Classes Enumerations
 

 Classes

  Class Description

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.

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.

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 the ShapeNode class 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.

Events

Defines all events raised by the Diagram component.

Factory

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

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 validation events.

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.

Manipulator

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

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.

Selection

Represents a set of items selected in the Diagram document.

SelectionEventArgs

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

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.

ShapeNode

ShapeNode instances are diagram nodes that represent geometric shapes.

Shapes

Provides alternative methods of access to the predefined shapes.

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.

 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.

Behavior

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

DelKeyAction

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

GridStyle

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

ImageAlign

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

LinkShape

Specifies available styles for the segments of links.

MarkStyle

Specifies the visual style of anchor point marks.

ShowAnchors

Specifies when anchors points should be displayed.