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

Bowtie Layout

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

1 Reply

SC Sudhakar C Syncfusion Team 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 


Loader.
Live Chat Icon For mobile
Up arrow icon