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

Automatic Layout

how can i use automatic layout with connectors that have text (textblock) 
i can bind id and parentid but i want another attribute that show on connector which connected from parentid to id

1 Reply

KR Keerthivasan Ramamoorthy Syncfusion Team December 27, 2016 10:17 AM UTC

Hi Hassan, 
Thank you for contacting Syncfusion support. 
Requirement:” Need to add Annotation(Text) to Connector in Automatic Layout” 
We have support to achieve your requirement. We have Support to Annotate the Node and Connector using AnnotationEditorViewModel. It helps to add the require Annotation (Text or any UIElement) to ConnectorViewModel. We have modified the sample as per the requirement. Please refer the modified sample and screenshot as below. 
Modified Sample: ID3_Graph_Modified 
For more details about AnnotationEditorViewModel, please refer the online documentation link as below. 
Keerthivasan R. 

Live Chat Icon For mobile
Up arrow icon