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. Image for the cookie policy date
close icon

AutoLayout apparently isn''t automatically laying out

Hello,

I've been evaluating Syncfusion Diagram. My ultimate goal is to allow a node to be dragged onto another node and then create a link between the two nodes.

I have this code working by responding to the Diagram MouseDown/MouseUp events. My problem is that the DirectedTreeLayoutManager doesn't seem to update the layout after I've created the link. I have even set up a menu and call diagram1.LayoutManager.UpdateLayout(null); with no effect: the nodes don't lay themselves out again to be non-overlapping.

So, my questions:
1) Is there a better way to accomplish what I want to accomplish?
2) If what I am doing is fine, how can I get the layout manager to lay things out properly and automatically?

Thanks,

David


2 Replies

DP David Paxson July 6, 2011 08:49 PM UTC

Never mind. Figured out I should be using the HierarchicLayoutManager. That appears to be working like a charm.



AA Amsath Ali M Syncfusion Team July 11, 2011 10:46 AM UTC

Hi David,

Thanks for your interest in Syncfusion products.

We are glad to know that the reported issue has been fixed by yourself.
Please let us know if you need any further assistance.

Regards,
Amsath Ali. M



Loader.
Live Chat Icon For mobile
Up arrow icon