I am currently evaluating Infragistics xamDiagram control and I was looking at following link for persisting my diagram.
http://help.infragistics.com/doc/WPF/2014.2/CLR4.0/?page=Control_Persistence_Framework.html
After uses creates various diagram shapes and move them around on the canvas and saves, when I load it back from the saved file, diagram items are losing node's location and showing default layout/location. Can you please assist?
To elaborate the issue, please see my attachment. Once application is running, users moves diagram item around and diagram is saved. After restarting application, or just reloading it from persisted file, loses diagram item location.
Hello Jake,
The XamDiagram nodes in the attached sample project are automatically created, loaded and positioned based on the data set as source. The Persistence Framework, on the other hand, saves and loads the elements’ properties and does not interact with the data source and the position of the elements is being recalculated when the data source is set for the re-loaded XamDiagram.
You can suggest saving and loading diagram nodes position when the nodes are auto-generated based on the data source as a new product idea for future versions at http://ideas.infragistics.com.
Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. You can also link back to this thread for additional details.
Thank you in advance for submitting your product idea.
Hi Maria
XamDiagram nodes are being created from a datasource and control is positioning the nodes on the canvas. However user does interact and able to re position them. This sound basic requirement to me and I thought should be part of this controls.
Nonetheless, can you please suggest best workaround to acquire position information of all the nodes and then re-apply these through code?
Thanks.