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

AutoLayout apparently isn''t automatically laying out

Thread ID:





100136 Jul 6,2011 07:13 PM UTC Jul 11,2011 10:46 AM UTC WinForms 2
Tags: Diagram
David Paxson
Asked On July 6, 2011 07:13 PM UTC


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?



David Paxson
Replied On 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.

Amsath Ali M [Syncfusion]
Replied On 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.

Amsath Ali. M


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