display 'flickers'

May 10, 2012 at 12:57 PM

Hi everybody,

I am quite nbew to the this lib, so my question might be kind of dump... sorry ;-)

In my application I'm displaying a simple graph (BidirectionalGraph). Whenever I replace the graph:
         graph = new Graph()
         graph.Addvertex(...)  //in a loop

the display flickers (= showing the new and the old graph for a while until the the new graph is finally displayed)

I guess that I am not using the lib in the right fashion. Can anybody give me a glue what I am doing wrong. Is there any documentation how to do such a thing.

Thank you very much!





May 10, 2012 at 6:22 PM

I think what you mean on flickr is part of the animation effect.

Set the IsAnimationEnabled property of the GraphLayout to false.

May 16, 2012 at 9:11 AM

Hi Palesz,

thank you for your reply. I have tried setting the AnimationEnabled to false, but it doesn't help - it is still flickering...

nevertheless you provided the right hint: there are three other Properties (AnimationLength, AnimationDisablerEdgeCount and AninationDisablerVertexCount). I set all of these properties to '0' (zero). Now everything is working fine.


Thank you very much!


Apr 12, 2013 at 5:57 PM

I know this conversation is from a while ago, but thanks for posting your solution. I was having the same issue and your solution fixed it for me.
  • IsAnimationEnabled="False"
  • AnimationLength="0"
  • AnimationDisablerEdgeCount="0"
  • AnimationDisablerVertexCount="0"