This is a migrated thread and some comments may be shown as answers.

Persist connection connector point

1 Answer 70 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Ioan
Top achievements
Rank 1
Ioan asked on 13 Nov 2019, 08:02 AM

Is there a way to persist the connection connector point?

In this example only the connections are saved: https://docs.telerik.com/kendo-ui/controls/diagrams-and-maps/diagram/how-to/persist-shape-properties .

The points (connector) where the connections are attached are not persisted.

 

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 15 Nov 2019, 07:49 AM

Hi Ioan,

 

The approach for persisting the connections options will be very similar to the one illustrated in the example. In the connections DataSource change event the options for the connections can be retrieved. Then in the createDiagram method retrieve the dataShapes and the dataConnections from the sessionStorage and apply them to the respective DataSource.

Give the approach a try and let me know how it works for you.

 

Regards,
Viktor Tachev
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Diagram
Asked by
Ioan
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or