To enable interactive drawing of IconNode objects, add the following code after the InitializeComponent call:
C#
![]() |
---|
// Let users draw IconNode objects |
Visual Basic
![]() |
---|
' Let users draw IconNode objects |
Setting CustomNodeType and Behavior as shown above specifies that IconNode instances should be created when users draw on the diagram canvas.