NetDiagram 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.

Border

Represents a panel that draws a border around its child components.

Button

Represents a button component for CompositeNodes.

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.

CompatConfig

Contains API compatibility settings.

ComponentEventArgs

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

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.

CompositeNode

CompositeNode implements nodes whose appearance can be defined via composition of components and layout containers.

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.

ControlNode

ControlNode instances are diagram nodes that render HTML content.

CreateLinkController

A controller used to draw new links in the diagram.

CreateNodeController

A controller used to draw new nodes in the diagram.

CreateSelectionController

A controller used to draw selection rectangle in the diagram.

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.

GridColumn

Represents a column in a GridPanel.

GridPanel

A layout container that arranges its child components in a grid.

GridRouter

Implements a link routing algorithm that uses a grid to represent the free and occupied regions in the diagram.

GridRow

Represents a row in a GridPanel.

HeaderEventArgs

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

HeaderResizeEventArgs

Contains the arguments passed to handlers of header resize events.

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.

ItemEventArgs

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

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.

ModifyLinkController

A controller used to modify existing links in the diagram.

ModifyNodeController

A controller used to modify existing nodes in the diagram.

ModifySelectionController

A controller used to modify multiple selected items in the diagram.

MouseInputDispatcher

Processes mouse events and dispatches them to controller objects appropriate for current context.

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.

PanController

A controller used to pan the diagram view.

Panel

Represents layout containers in CompositeNode visual tree.

Path

Represents a sequence of connected DiagramNode and DiagramLink elements.

PathFinder

Provides methods that help you find paths and cycles in a graph.

RemoveItemCommand

Implements deletion of diagram items.

Router

Implements a simple link routing algorithm that pulls link segments out of nodes they would overlap.

Ruler

The Ruler control provides horizontal and vertical scales that help users measure and align 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.

SimplePanel

A layout container that arranges its child components on top of each other.

SinglePointerController

Processes mouse or single-touch events targeting a diagram element.

StackPanel

A layout container that arranges its child components stacked horizontally or vertically.

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.

SvgExporter

Creates SVG (Scalable Vector Graphics) drawings from the content of Diagram objects.

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.

VideoNode

A VideoNode instance renders video stream assigned to the VideoLocation property.

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.

ColumnStyle

Specifies how table columns' width is set.

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.

ExpandButtonAction

Specifies what action is triggered by the +/- buttons that are displayed near expandable nodes.

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.

LengthType

Indicates how GridPanel determines dimensions of its rows and columns.

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.

Orientation

Specifies the orientation of user interface elements.

RelativeToLink

Specifies how the link labels are positioned.

SaveToStringFormat

Specifies in what format to save the diagram when generating a string using the saveToString method.

ScaleMode

Defines Overview scaling modes.

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.