How to remove the last vertex in graph and refresh it?

Oct 21, 2010 at 10:00 AM

How to remove the last vertex in graph and refresh it? I try to do it - it deletes in db, but still shows the only element on screen.

Developer
Dec 13, 2010 at 9:46 PM

You have to remove the vertex from the QuickGraph datasource. Then, the graph layout will refresh itself.

 

BadAng

 

 

Jul 11, 2011 at 9:13 AM

So on the other hand - is it possible to remove the vertex from the graph, but prevent the layout from refreshing?

Jul 14, 2011 at 8:16 PM

Yes =D all you need to do is go to the OnMutated  function and comment out the Relayout(); call

Jul 15, 2011 at 2:42 PM

yes you can change CanLayout property from protected to public, when you false it, it prevent the graph layout from refreshing

sorry for my poor English writing