Differnece between sf:SfDiagram and syncfusion:DiagramControl

Can somebody explain me the big difference between sf:SfDiagram and syncfusion:DiagramControl?

Which one would you for example prefer when you want to have dynamic connectors which you could change from source to target, delete, add, move, etc.
And on the other side which one would you prefer, when you have a static diagram just for representation without manipulation opportunity?

For your explanation, discussion and advice thank you ^^ 

3 Replies

SS Suresh Shanmugam Syncfusion Team January 26, 2018 06:36 AM UTC

Hi Raffaella, 
 
S.No 
Query 
Response 
1 
Can somebody explain me the big difference between sf:SfDiagram and syncfusion:DiagramControl? 
The Scope to develop SfDiagram version of WPF is to overcome the problem in Diagram.WPF (features and performance).The design of SfDiagram is help to improve performance while Loading and Interaction. So, SfDiagram have considerable high performance with Diagram.WPF. 
Though new version of diagram (SfDiagram) is available, we will continue to support for Diagram which is marked as classic(DiagramControl). 
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. 
 
 
We have provided the Document to notify the difference between SfDiagram and Diagram(Classic). Please refer to the documentation from the below link.   
 
Documentation  
 
 
2 
Which one would you for example prefer when you want to have dynamic connectors which you could change from source to target, delete, add, move, etc. 
 
 
We suggest you can prefer the SfDiagram. Please refer the below link to use the Connector in SfDiagram  
3 
And on the other side which one would you prefer, when you have a static diagram just for representation without manipulation opportunity? 
 
We can achieve the static diagram in SfDiagram. Please refer the below code example to represent the Diagram Page as static. 
Code Example, 
diagram.Constraints = GraphConstraints.None; 
Here, diagram is the instance of SfDiagram control. 
  
 
 
Regards, 
Suresh Shanmugam 



WA Walz January 26, 2018 07:06 AM UTC

wow thank you very much for the nice explanation ^^


SS Suresh Shanmugam Syncfusion Team January 29, 2018 04:38 AM UTC

Hi Raffaella,  
 
Thanks for your update. 
 
Suresh Shanmugam 


Loader.
Up arrow icon