Builds a new StartNode with the given dropPosition as its bounds
and adds it to the given IDiagramModel.
Namespace:
Mindscape.WpfDiagramming.FlowDiagramsAssembly: 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 newly created StartNode as added to.
- bounds
- Type: System.Windows..::.Rect
The position and dimensions of the newly created StartNode.