Link between Connection and Connection in Diagram

1 Answer 22 Views
Diagram
kim
Top achievements
Rank 1
Iron
kim asked on 13 Jan 2022, 06:26 AM

Can I link between Connection and Connection?

If it possible, tell me please,,,

 

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 17 Jan 2022, 02:53 PM

Hi kim,

Although such functionality is not supported out of the box, you can technically achieve the desired result. For the purpose, you need to implement a custom connection that has collections of incoming and outgoing connections. The solution requires:

  • custom RadDiagram to create custom connections
  • custom RadDiagramConnection class to provide the logic for incoming and outgoing connections and update them
  • custom RadDiagramConnector serving as attaching point for such connections
  • custom ConnectionTool class to provide custom logic for attaching such connections

Attached you can find a small proof-of-concept project.

Please note, however, that this is not a complete solution and I cannot guarantee it will work in all scenarios, but I do hope you find it a good starting point for future customizations on your side.

Regards,
Dilyan Traykov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

kim
Top achievements
Rank 1
Iron
commented on 18 Jan 2022, 11:39 PM

thank you.

I'll try using your sample.

Tags
Diagram
Asked by
kim
Top achievements
Rank 1
Iron
Answers by
Dilyan Traykov
Telerik team
Share this question
or