InvertSelection()
{
AssertValid();
const String MethodName = "InvertSelection";
CheckIfLayingOutGraph(MethodName);
foreach (IVertex oVertex in m_oGraph.Vertices)
{
SetVertexSelectedInternal( oVertex,
!VertexOrEdgeIsSelected(oVertex) );
}
foreach (IEdge oEdge in m_oGraph.Edges)
{
SetEdgeSelectedInternal( oEdge, !VertexOrEdgeIsSelected(oEdge) );
}
FireSelectionChanged();
}