Select All nodes and links

To select one node I use:

MyDiagram.Select(node);

Is there a method to select all nodes and links or do I need to loop thru the nodes and links.

Thanks
Rich

You could either call the other override, Diagram.Select(IEnumerable), or call myDiagram.CommandHandler.SelectAll().

Hi
How can we select a particular node in Diagram in code behind?

This might answer your question: http://www.nwoods.com/forum/forum_posts.asp?TID=3137