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.
Syncfusion Feedback

SfDiagram vs DiagramControl

Thread ID:

Created:

Updated:

Platform:

Replies:

119563 Jul 9,2015 07:50 AM Feb 22,2017 11:38 PM WPF 6
loading
Tags: Diagram
Domenico Mozzone
Asked On July 9, 2015 07:50 AM

Dear All,
I have just installed v13.2.0.29.

The link (http://files2.syncfusion.com/Installs/Support/Diagram/Diagram+Mirgration+Document.zip) about Diagram migration worries us.

The migration changes completely Diagram usage. We have different deployed applications with many custom nodes and connetors. 
The migration involves the redesign almost from zero of all the code related to the Diagram control.

Are you going to stop supporting the old control in the future or will keep both controls ?

Thank you
Best regards

Domenico

Ranjitha Amirthalingam [Syncfusion]
Replied On July 10, 2015 12:03 PM

Hi Domenico,

Thanks for using Syncfusion Products.

We will provide the support for both Diagram and SfDiagram. There is a newer alternative available. This Suite of WPF controls which was offered as “Essential Studio for WPF” till the Volume 1 2015 release has been marked as “Classic” and the newer set of controls powered by Essential WPF takes its place.

The newer version includes all the features that the Classic version had so it should be easy to migrate if required. The general guideline is that if you are using the Classic edition of Controls in existing products then you can continue to use them. However if you are starting a new project then it is recommended that you use the newer alternative available. Syncfusion will continue to maintain and support the Classic version of Controls for several more years. We will also be happy to provide any required assistance in migrating from the Classic edition. Please create a support ticket through Direct-Trac if you need any additional details.

Please let us know if you require further assistance on this.

Regards,

Ranjitha A


Ranjitha Amirthalingam [Syncfusion]
Replied On July 13, 2015 08:00 AM

Hi Domenico,

Please ignore our previous update.

Though new version of diagram (SfDiagram) is available, we will continue to support for Diagram which is marked as classic.

Additional Information:
The general guideline is that if you are using the Classic edition of Controls in existing products then you can continue to use them. However if you are starting a new project then it is recommended that you use the newer alternative available. Syncfusion will continue to maintain and support the Classic version of Controls for several more years. The newer version includes all the features that the Classic version had so it should be easy to migrate if required. We will also be happy to provide any required assistance in migrating from the Classic edition.

Please let us know if you require further assistance on this.

Regards,

Ranjitha A


Domenico Mozzone
Replied On July 13, 2015 02:53 PM

Dear Ranjitha,
Thank you for your reply.
We are evaluating the use of new SfDiagram in a new project, but provided example and documentation are not enough to understand if all our requirement can be implemented.
In particular, we need examples and documentation on following features:
1. Custom nodes: insertion on stencil, possibility to change parts (colour, thickness…) at run time using binding with custom node properties
2. Use of ports: how can be defined ports for custom symbol on stencil?
3. Custom connector: we need several connectors (line and orthogonal) types with custom aspect (thickness, colour, dash, head and tail decoration). Which is the procedure to draw custom connector? From stencil? From tool on the ribbon? With custom drag tool on nodes?
4. Save and load: we tried to use Diagram.Save and Load methods as in the following code. The save methods persists on file system a xaml file that seems to be complete, but the load method only shows connectors. Where is our error?
5. We need to add custom properties to nodes and connectors that must be set also when they are dragged from stencil. Which is the procedure to interact in code behind with the process of creation of new nodes and connectors?
6. We would like to bind custom properties of custom nodes and connectors on diagram with different parts (for example Paths, or TextBlocks) of symbol data template.
7. We need to intercept events related to selection, un selection, move, delete, connector head and tail association to ports and so on. How to do that?
8. Why example related to Classic version of diagram are not present in the version v13.2.0.29? We need documentation and samples related to Classic version in order to maintain existing projects and update them to newer versions of Syncfusion Library.

Save code
var of = new SaveFileDialog() {Filter = "Xaml diagram (*.xaml)|*.xaml"};
            var result = of.ShowDialog(this);
            if (result.Value)
            {
                using (var sw = new FileStream(of.FileName, FileMode.CreateNew, FileAccess.Write, FileShare.Write))
                {
                    Diagram.Save(sw);
                }
            }

Load code
var of = new OpenFileDialog() { Filter = "Xaml diagram (*.xaml)|*.xaml" };
            var result = of.ShowDialog(this);
            if (result.Value)
            {
                using (var sw = new FileStream(of.FileName, FileMode.Open, FileAccess.Read, FileShare.Read))
                {
                    Diagram.Load(sw);
                }
            }
Kind regards

Domenico


Ranjitha Amirthalingam [Syncfusion]
Replied On July 14, 2015 07:42 AM

Hi Domenico,
 
We have created a support incident under your account to track the status of the reported queries.
Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

 

Please let us know if you require further assistance on this.
Regards,
Ranjitha A.


Rahul Shanbhag
Replied On February 22, 2017 06:36 AM

Hi Domenico,
 
We have created a support incident under your account to track the status of the reported queries.
Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

 

Please let us know if you require further assistance on this.
Regards,
Ranjitha A.


Hi ,

I also have similar requirements as Domenico.  The sample projects doesn't showcase the requirements I need.
Could you please assist ?


Thanks

Ranjitha Amirthalingam [Syncfusion]
Replied On February 22, 2017 11:38 PM

Hi Rahul, 
 
Thanks for contacting Syncfusion Support. 
 
We have provided the drafted version of Online Help Documentation for SfDiagram Version of WPF. Please find the Documentation from the following link.

Document Link: Help_Documentation_for_SfDiagram.WPF 
Also, we have provided the online help documentation link. Please refer to the link as below. 
 
 
 
 
Regards, 
Ranjitha A. 


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.

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

;