Reloading DataSource caused nodes to change position.

Hi team,

I am using SfDiagram and have a bunch of nodes to display. I am using MVVM pattern to get data and display data as nodes on the nodes
I observe that when I manually refresh the datasource (though there is nothing changed in the data), the positions of the nodes gets reversed.

I have created a sample and have attached to this post. In the sample when the application initially loads, the Order is maintained as required (flows from left to right). When I click on the Reload button though the data bound is in the same order as initial load, the nodes gets revered and flow from Right to left. 
In my actual application I will be creating a diagram with more than 50 nodes in multiple levels, if the order changes it will create a lot of confusion to the user.

I am not sure if I need to set anything explicitly when data reloads.
Let me know if you need any further information.


Thanks,
Srikanth V

Attachment: MySFDiagram_44e287f6.zip

9 Replies

KR Karkuvel Rajan Shanmugavel Syncfusion Team February 20, 2020 07:32 AM UTC

Hi Srikanth, 
 
Reported Issue : Node position changed when reloading the data source. 
 
We are able to reproduce the reported issue. We will update you with more details on 21st February, 2020. 
 
Regards, 
Karkuvel Rajan S 



KR Karkuvel Rajan Shanmugavel Syncfusion Team February 21, 2020 11:06 AM UTC

Hi Srikanth, 
 
Reported Issue : Node position changed when reloading the data source. 
 
We can reproduce the issue. We have confirmed this as a defect. We have logged a defect report for this issue. We will fix this issue and provide the patch on 6th March, 2020. 
 
Now, you can track the status of your request through below feedback link. 
 
 
Regards, 
Karkuvel Rajan S 



RA Ranjitha Amirthalingam Syncfusion Team March 6, 2020 11:21 AM UTC

Hi Srikanth,  
  
Reported Issue : Node position changed when reloading the data source.  
 
We have fixed the reported issue and provided the patch. Please download the patch from the below location. 
 
Recommended approach - exe will perform automatic configuration
Please find the patch setup from below location:
 

Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment
Please find the patch assemblies alone from below location:
 

Assembly Version: 17.3.0.14
Installation Directions : 
This patch should replace the files “Syncfusion.SfDiagram.dll” under the following folder.
$system drive:\ Files\Syncfusion\Essential Studio\17.3.0.14\precompiledassemblies\17.3.0.14\4.0 
 
$system drive:\ Files\Syncfusion\Essential Studio\17.3.0.14\precompiledassemblies\17.3.0.14\4.5  
$system drive:\ Files\Syncfusion\Essential Studio\17.3.0.14\precompiledassemblies\17.3.0.14\4.5.1  
$system drive:\ Files\Syncfusion\Essential Studio\17.3.0.14\precompiledassemblies\17.3.0.14\4.6

To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you will have to manually copy and paste them to the preferred location or you will have to run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.

Note : 
You can change how you receive bug fixes by navigating to the following link and updating your preferences.

https://www.syncfusion.com/support/directtrac/patches

Disclaimer : 
Please note that we have created this patch for version 17.3.0.14 specifically to resolve the issues reported in the forum (151719) .
If you have received other patches for the same version for other products, please apply all patches in the order received.
This fix will be included in our Volume 1 release which will be available in the end of March 2020.
 
 
 
 
Regards, 
Ranjitha A. 



SV Srikanth Vattipally March 16, 2020 12:04 PM UTC

Hi Ranjitha,

Thank you for the last update, wanted to know if this patch is part of the latest nuget package.
We are using libraries from syncfusion nuget packages. It would be helpful if you can let me know the nuget version which I can use for fixing this issue.


Thanks,
Srikanth V.


KR Karkuvel Rajan Shanmugavel Syncfusion Team March 17, 2020 11:39 AM UTC

Hi Srikanth, 
 
Reported issue: Node position changed when reloading the data source. 
 
We have included the patch provided for your reported issue in our upcoming beta version for Volume 1 release which will be available by this week. We will update you once Volume 1 beta has been released. 
 
Regards, 
Karkuvel Rajan S  



KR Karkuvel Rajan Shanmugavel Syncfusion Team March 19, 2020 01:23 PM UTC

Hi Srikanth, 
  
Reported issue: Node position changed when reloading the data source. 
 
We are glad to announce that our Essential Studio Volume 1, 2019 Beta Release(v18-1-0-36) is rolled out and is available for download under the following link. 
 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
 
Regards, 
Karkuvel Rajan S 



KR Karkuvel Rajan Shanmugavel Syncfusion Team April 2, 2020 07:25 AM UTC

Hi Srikanth,  
   
Reported issue: Node position changed when reloading the data source.  
  
We are glad to announce that our Essential Studio Volume 1, 2020 (v18-1-0-42) is rolled out and is available for download under the following link.  
  
  
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.  
  
Regards,  
Karkuvel Rajan S  



SV Srikanth Vattipally April 14, 2020 04:58 AM UTC

Hi Rajan,

Thank you for the support and keeping me informed. I have observed that the ordering issue is partially fixed when loading smaller diagrams.
In my actual application I am trying to build a diagram that has more than 75 nodes, spanning multiple levels horizontally and vertically, (I use scroll bars to see the diagram nodes) and I am still facing the ordering issue.
For smaller diagrams the issue seems to be fixed, could you please help.


Thanks,
Srikanth V 


KR Karkuvel Rajan Shanmugavel Syncfusion Team April 14, 2020 07:38 AM UTC

Hi Srikanth, 
  
Reported Issue: Node position changed when reloading the large datasource. 
  
We are unable to reproduce the reported issue in our end. We have modified the already provided sample and tried to reproduce the reported issue with 100 nodes. Please find the sample below. 
  
  
Please modify the sample to reproduce the reported issue and update us. 
  
Regards, 
Karkuvel Rajan S 


Loader.
Up arrow icon