Creates a new DataNode with the given position and dimensions, and then adds
it to the given IDiagramModel.
Namespace:
Mindscape.WpfDiagramming.StarDiagramsAssembly: Mindscape.WpfDiagramming.StarDiagrams (in Mindscape.WpfDiagramming.StarDiagrams.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 DataNode will be added to.
- bounds
- Type: System.Windows..::.Rect
The position and dimensions of the newly created DataNode.