Good day,
I'm wondering how can I fix wrong positioning (you can see how does it look right now in attached picture) of RadDiagramShapes in TreeDown? When I have like 5 nodes it works quite OK. But when i have let's say 90 nodes it becomes a mess.
I use this code after i fill RadDiagram with shapes and after i connect them with each other.
I have only one root and I have already tried with positioning root shape on some position. Also i tried to fit layout after each diagram was put on diagram.
Thanks for your help.
Regards,
Gregor
I'm wondering how can I fix wrong positioning (you can see how does it look right now in attached picture) of RadDiagramShapes in TreeDown? When I have like 5 nodes it works quite OK. But when i have let's say 90 nodes it becomes a mess.
I use this code after i fill RadDiagram with shapes and after i connect them with each other.
TreeLayoutSettings settings = new TreeLayoutSettings(){ TreeLayoutType = TreeLayoutType.TreeDown,};settings.Roots.Add(rd.Shapes[0]); rd.RoutingService.Router = new OrgTreeRouter(){ TreeLayoutType = TreeLayoutType.TreeDown, ConnectionOuterSpacing = 20,};rd.LayoutAsync(LayoutType.Tree, settings);rd.AutoFitAsync(new Thickness(0, 0, 0, 0), false);I have only one root and I have already tried with positioning root shape on some position. Also i tried to fit layout after each diagram was put on diagram.
Thanks for your help.
Regards,
Gregor