Builds a new DecisionNode with the given dropPosition as its bounds and adds it to the given IDiagramModel.

Namespace:  Mindscape.WpfDiagramming.FlowDiagrams
Assembly:  Mindscape.WpfDiagramming.FlowDiagrams (in Mindscape.WpfDiagramming.FlowDiagrams.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public void CreateNode(
	IDiagramModel diagram,
	Rect bounds
)
Visual Basic (Declaration)
Public Sub CreateNode ( _
	diagram As IDiagramModel, _
	bounds As Rect _
)

Parameters

diagram
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramModel
The IDiagramModel that the new DecisionNode is added to.
bounds
Type: System.Windows..::.Rect
The position and dimensions of the newly created DecisionNode.

See Also