Overview Control still showing collapsed nodes


Please have a look at the below picture....
While click on Cut menu item am just making the visibility of the node to collapse but the overview control still showing the nodes.
and links connected to that node also am making the visibility collapse
foreach (var item in clipBoardNode.LinksConnected.ToList())
{ item.Visibility = Visibility.Collapsed; }
if you look at the overview control it still showing the nodes whose visibile property are set to collapsed...
Please help me to resolve this...

Usually the property changes need to go through the model data to be seen by the Overview control.
So just changing the FrameworkElement.Visibility property isn’t sufficient.

I suggest that you toggle the Part.Visible property instead.
The Overview control normally knows about that property.