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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

AutoLayout apparently isn''t automatically laying out

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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


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.

Regards,
Amsath Ali. M



CONFIRMATION

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.

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

;