Hi,
Thanks for the answer, but it doesn''t really solve our problem. We are not interested in simply changing the end point decorator, but to change the whole line. We are changing from directed lines to orthogonal lines and vice versa. We do this similar to the code in your orgchartlayout sample, where we calulate a new orthogonal path and remove all previous children in the link node and replaces them with the new polyline.
It all works fine, except from the fact that the link doesn''t attach at the perimeter anymore, until being moved, and this isn''t so nice.
We also only have one centerport, the default for a symbol. I don''t understand why you added a left port and a right port also.
I hope this helps to clarify the problem...
/ Henrik Stromberg
>Hi Henrik Stromberg ,
>
>I am sorry about this delay in responding. And I was not able to reproduce the issue that you have mentioned here. I have tested this issue by creating a sample application which draws a hierarchical tree layout to the diagram. The sample has a context menu which lets you change the The tree layout symbol has three ports named leftport,rightport and the Centerport. I have set Port.AttachAtPerimeter = TRUE for the left and right port and the center port has the true value for the AttachAtPerimeter property by default. This seems to be working as expected for me.
>
>Kindly look into the attached sample. And please modify the sample or post us some reproducing steps if you still run into any problem. We will be glad to assist you.
>
>Thank you for your interest in Syncfusion products.
>
>Best Regards,
>Meera.
>
Hierarchical_Tree_Layout.zip