This is a migrated thread and some comments may be shown as answers.

Issue when building a large hierarchy

1 Answer 26 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 30 Aug 2012, 07:23 PM
I have an application which starts with two nodes linked by a connector.   Double clicking the lower node opens another node and creates a connection, applies a TreeDown layout and runs the AutoFit command.   Continuing to double click the bottom item will open the next node in the sequence.     So, it quickly becomes:  node-connector-node-connector-node....on and on.....all in a straight line down the page.

The problem arises when you get to the 14th item.   At that point, the same code runs, but the next element doesn't appear.    

The solution I found was to disable the 'Auto-Fit' ran after each addition of a Node & Connector.

I've also noted that it will work if you wait about 15 to 30 seconds after a node opens (this isn't an acceptable solution though).


This appears to be a problem with the Auto-Fit command.    I've since made that a 'manual' command button, but is there a way to avoid this problem?   



Thanks

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 04 Sep 2012, 01:20 PM
Hello Tom,
Thank you for the feedback but unfortunately I wasn't able to reproduce this issue. Could you please send us some code snippets or a sample project so that we could investigate it further ?
I've attached the sample project that I used for testing so you could examine it and tell us what you're doing differently.
We're looking forward to hearing from you.

Greetings,
Zarko
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Diagram
Asked by
Tom
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Share this question
or