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

Automatic Layout

Thread ID:





128013 Dec 26,2016 07:04 PM UTC Dec 27,2016 10:17 AM UTC WPF 1
Tags: SfDiagram
Asked On December 26, 2016 07:04 PM UTC

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

Keerthivasan Ramamoorthy [Syncfusion]
Replied On 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. 


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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