We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DirectedTreeLayout doesn't allign nodes automaticaly

Thread ID:





117475 Oct 27,2014 08:31 PM UTC Oct 29,2014 09:33 AM UTC WinRT 3
Tags: SfDiagram
Asked On October 27, 2014 08:31 PM UTC

Hello everyone,

It seems that DirectedTreeLayout  doesn't allign nodes automaticaly, if Nodes and Connectors are bound to ViewModel properties.
I've prepared a demo app, where the issue is shown.  It's just a simple app where only one view and one view model, nodes are created on view model side etc.

PS: If I call "Diagram.LayoutManager.Layout.UpdateLayout();" right after creation of nodes, it does work. Should it be applied automaticaly, shouldn't it?

thanks in advance.

Attachment: SDiagramIssue_7b3aa367.zip

Saranya Chandrasekaran [Syncfusion]
Replied On October 28, 2014 11:49 AM UTC

Hi Vladimir,

It is by design that SfDiagram WinRT updates the Layout in its loaded event (i.e. Data for Layout are assigned before that). After analyzing your sample, we came to know that Data for Layout is assigned in Page loaded event (after Diagram is loaded). So, the Layout does not get refreshed. In order to solve this problem, Layout can be updated manually after data assigned.

Please let us know if you have any concerns

Saranya C

Replied On October 28, 2014 09:07 PM UTC


thanks you for the response. 
so, if it does not apply automatically , then it creates a node somewhere on a random position and only if I call ApplyLayout it will be realigned. right? It doesn't make much sense to me.  I would definitely like to see this feature released. :)


Saranya Chandrasekaran [Syncfusion]
Replied On October 29, 2014 09:33 AM UTC

Hi Vladimir,

We have considered requirement as feature request “Support to update Layout automatically when collection changed”. However to access this, we request you to create your customer account in Direct Trac and open a new incident so that our support engineer will assist you accordingly.

Our Direct Trac support system can be accessed from the following link:                              

Link: https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let us know if you any concerns


Saranya C


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon