ASP.NET Pack Programmer's Guide
DiagramNode Members
Constructors Methods
 


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.

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

 Public Constructors

  Name Description

DiagramNode

Initializes a new instance of the DiagramNode class.

 Public Methods

  Name Description

acceptLinks

Determines whether the node can be connected with links of the specified type.

allowDrag

DiagramItem.allowDrag override.

attach

Attaches the specified subordinate node to this node, so that when this node is moved, the subordinate follows it.

attachTo

Attaches this node to the specified master node so that when the master is moved, the attached node follows it.

containsPoint

DiagramItem.containsPoint override.

createConnectionPoint

Creates a connection point between this node and the specified link at the specified point.

detach

Detaches this node from its current master node.

endDrag

DiagramItem.endDrag override.

getAllowIncomingLinks

Gets a value indicating whether users are allowed to draw incoming links to this node.

getAllowOutgoingLinks

Sets a value indicating whether users are allowed to draw outgoing links to this node.

getAnchorPattern

Gets the anchor points to which links are attached when connected to this node.

getAttachedNodes

Returns the nodes attached to this node.

getBounds

Gets the rectangle that defines the position of the diagram node.

getCenter

Gets the center of this node's bounding rectangle.

getEffectiveEffects

Gets the effects that should be applied to this item.

getEffects

Gets an array with all effects applied to this node.

getEnabledHandles

Gets the kinds of modifications that end-users are permitted to perform on the node.

getExpandable

Gets a value indicating whether users are allowed to expand or collapse the tree branch that starts at this node.

getExpanded

Gets a value indicating whether the tree branch starting at this node is expanded.

getHandlesStyle

Gets a value indicating how the node adjustment handles behave and what do they look like.

getIncomingLinks

Gets the incoming links collection of this DiagramNode.

getIntersection

Calculates the intersection point between the segment defined by the specified point pair and the node's outline.

getMasterNode

Returns the node to which this node is attached.

getObstacle

Gets a value indicating whether this node is considered an obstacle by the link-routing algorithm.

getOutgoingLinks

Gets the outgoing links collection of this node.

getOutline

Gets the bounding rectangle of this node.

getRotatedBounds

Gets the bounding rectangle of this item when it is rotated.

getRotationAngle

Gets the angle at which this node is rotated.

getShowDeleteButton

Gets a value indicating whether this node displays a delete button.

getTopLevel

DiagramItem.getTopLevel override.

loadFromXml

DiagramItem.loadFromXml override. Loads the node's content from an XML element.

raiseClicked

Raises an event which notifies that a node has been clicked.

raiseDoubleClicked

Raises an event which notifies that a node has been double-clicked.

removeCanvasElements

DiagramItem.removeCanvasElements override.

restoreLocationState

DiagramItem.restoreLocationState override.

saveLocationState

DiagramItem.saveLocationState override.

saveToXml

Saves the item content into an XML element.

setAllowIncomingLinks

Sets a value indicating whether users are allowed to draw incoming link-s to this node.

setAllowOutgoingLinks

Sets a value indicating whether users are allowed to draw outgoing link-s from this node.

setAnchorPattern

Sets the anchor points to which links are attached when connected to this node.

setBounds

Sets the rectangle that defines the position of the diagram node.

setEnabledHandles

Sets the kinds of modifications that end-users are permitted to perform on the node.

setExpandable

Sets a value indicating whether users are allowed to expand or collapse the tree branch that starts at this node.

setExpanded

Expands or collapses the tree branch that starts at this node.

setHandlesStyle

Sets a value indicating how the node adjustment handles behave and what do they look like.

setObstacle

Sets a value indicating whether this node is considered an obstacle by the link-routing algorithm.

setRotationAngle

Sets the angle at which this node is rotated.

setShowDeleteButton

Sets a value indicating whether this node displays a delete button.

startDrag

DiagramItem.startDrag override.

updateDrag

DiagramItem.updateDrag override.

 See Also

DiagramNode Class
MindFusion.Diagramming Namespace