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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Bowtie Layout

Thread ID:

Created:

Updated:

Platform:

Replies:

110606 Aug 15,2013 05:42 PM UTC Aug 16,2013 06:47 AM UTC WPF 1
loading
Tags: Diagram
Thomas Belknap
Asked On August 15, 2013 05:42 PM UTC

Hello,

I guess I should start with what I am trying to do.

I am automatically connecting a new node to an existing one while using the bowtie layout.  So, I change the direction at runtime and would like it to update the layout when a new node is added.

I am unable to figure out how to make this work. haha


Thanks,


Thomas

Sudhakar C [Syncfusion]
Replied On August 16, 2013 06:47 AM UTC

Hi Thomas, 

We have analyzed your requirement, we are suggested you to please refresh the Layout when added the new Node to the Layout. For more information, please refer the below code snippet to refresh the Layout. 

Code Snippet : 

 

BowtieLayout bowtieLayout = new BowtieLayout(diagramModel, diagramView);

//Refereshing the BowtieLayout 

bowtieLayout.RefreshLayout();

 

 Please let us know if you require further assistance on this. 

Regards, 

Sudhakar C 


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

;