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.

Automatic Layout

Thread ID:

Created:

Updated:

Platform:

Replies:

128013 Dec 26,2016 02:04 PM Dec 27,2016 05:17 AM WPF 1
loading
Tags: SfDiagram
Hassan
Asked On December 26, 2016 02:04 PM

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 05:17 AM

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 
 
Screenshot: 
 
For more details about AnnotationEditorViewModel, please refer the online documentation link as below. 
 
 
 
Regards, 
Keerthivasan R. 
 


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.

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.

;