Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
405
Undesired Re-rendering of Nodes/Layout
posted

I would like to use the network nodes control to be a real time view of a network.  As events are fired within the system I'd like to update the UI of the nodes so the user can perform certain interactions. 

In our application we have a global setting that modifies the font size for the entire application.  I have noticed that when I change that value while using the Infragistics NetworkNode control the UI locks for several seconds while the control re-renders itself.

It appears to be re-calibrating to autofit the nodes to the available container space.  In my opinion this is a simple scenario.  What happens in the case where I want to much more drastically change the content of the nodes?  Additionally this freezing of the UI is compounded the more nodes you add to the network.  Without a solution the performance makes the control almost unusable.

I have created and attached a sample application that demonstrates this locking of the UI.  Click on the buttons to increase or decrease the font size while the progress bar (set to update forever) is moving and you will notice the freezing.

Question:

Is there a property or something I can set to disable this re-rendering of the entire view?

 

Kind Regards,

Daniel 

 

EDIT: Theoretically I should be able to use the "NodeDistance" property to appropriately set the distance between the nodes to handle increasing/decreasing sizes of the node content myself.

FontChangeIssue.zip