Hi,
Is there any limit for tree layout? There are 1100 items and 1200 connections in the diagram. And when applying layout throw stackoverflowexception. Sugiyama Layout working correctly. And tree layout working small diagram( 10 Items, 9 Connections). But in large one, not working. I believe Tree DataStructure function generally recursive one. So It caused the StackoverflowException.
Thanks in advance.
Is there any limit for tree layout? There are 1100 items and 1200 connections in the diagram. And when applying layout throw stackoverflowexception. Sugiyama Layout working correctly. And tree layout working small diagram( 10 Items, 9 Connections). But in large one, not working. I believe Tree DataStructure function generally recursive one. So It caused the StackoverflowException.
Thanks in advance.
4 Answers, 1 is accepted
0
Accepted
Hi Mahmut,
Thank you for the feedback. I was able to reproduce the issue and indeed it's caused by the recursive calls in our Tree layout. If you have a very large/deep hierarchy our default layout may throw a StackOverflow exception.
Unfortunately there's no workaround at the moment as this is part of our layout implementation.
I updated you Telerik account and logged the issue in our feedback portal where you can track its progress.
Regards,
Zarko
Telerik
Thank you for the feedback. I was able to reproduce the issue and indeed it's caused by the recursive calls in our Tree layout. If you have a very large/deep hierarchy our default layout may throw a StackOverflow exception.
Unfortunately there's no workaround at the moment as this is part of our layout implementation.
I updated you Telerik account and logged the issue in our feedback portal where you can track its progress.
Regards,
Zarko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
B
Top achievements
Rank 2
answered on 08 Apr 2015, 09:42 AM
I'm having the same issue as Mahmut, but also with Sugiyama Layout and very small diagrams.
The call stack tells me it keeps updating endpoint of a RadDiagramConnection.
Same diagram sometimes throws StackOverflowException, sometimes not.
Do you have an example for easy applying custom layout?
0
B
Top achievements
Rank 2
answered on 08 Apr 2015, 02:36 PM
Setting LayoutContainerChildren of SugiyamaSettings to true seems to cause the issue
0
Hi Demir,
Could you please check whether this issue is reproducible in Q1 2015 Release ? He actually resolved similar (or the same) issue for Q1. If yes, is it possible for you to send us an isolated sample that we can look at ? Thank you for your cooperation.
Regards,
Petar Mladenov
Telerik
Could you please check whether this issue is reproducible in Q1 2015 Release ? He actually resolved similar (or the same) issue for Q1. If yes, is it possible for you to send us an isolated sample that we can look at ? Thank you for your cooperation.
Regards,
Petar Mladenov
Telerik
See What's Next in App Development. Register for TelerikNEXT.