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

How to add create custom RadDiagramConnections in MVVM

4 Answers 81 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Jackey
Top achievements
Rank 1
Jackey asked on 03 Apr 2015, 01:35 PM

Hi team,

I am using MVVM to create nodes, graphs and links. And i manage to create custom connectors with the help of this thread. But now i want to create custom connections, which means attach to specific custom connectors and add several connections points. Any tutorial showing how to do this?

 Thanks,

Jingfei

4 Answers, 1 is accepted

Sort by
0
Jackey
Top achievements
Rank 1
answered on 06 Apr 2015, 05:28 AM

Sorry for the title. It should be 'How to create custom RadDiagramConnections in MVVM'. The Link model does not provider an interface to set the connectors and connection points. Hope make myself clear.

 Thanks,

Jingfei

0
Jackey
Top achievements
Rank 1
answered on 11 Apr 2015, 07:44 AM

Anyone? No documentation of RadDiagram mentions this kind of requirements. Sorry for the ping...

Best Regards,

Jingfei

0
Peter
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 12 Apr 2021, 12:06 PM

Hello,

I want to implement a polyline with different connection points in MVVM.

Can you provide me a way to do that?

thanks!

Tobias

1
Dinko | Tech Support Engineer
Telerik team
answered on 15 Apr 2021, 07:13 AM

Hello Peter,

You can achieve this behavior using a custom attached property. To better demonstrate this I have prepared a sample project. You can find it attached to this reply. I hope this project is helpful. 

In addition, you can check the following resources which I think will get in handy.

Regards,
Dinko
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Diagram
Asked by
Jackey
Top achievements
Rank 1
Answers by
Jackey
Top achievements
Rank 1
Peter
Top achievements
Rank 2
Iron
Iron
Veteran
Dinko | Tech Support Engineer
Telerik team
Share this question
or