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

Multi link between shapes

4 Answers 58 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Clément
Top achievements
Rank 1
Clément asked on 31 Jan 2014, 04:12 PM
Hello,

I need to replicate the behavior of the picture attached but... I don't find a way to set it automatically by the RadDiagram.
Is there any way ?

Best regards,
Clément

4 Answers, 1 is accepted

Sort by
0
Accepted
Boris
Telerik team
answered on 05 Feb 2014, 04:42 PM
Hello Clément,

From the image that you've sent us it seems that you could use connection routing and custom connectors.
I've attached a sample project demonstrating those diagram features and I'd like to ask you to examine it and tell us if this is what you're looking for?

Regards,
Boris Penev
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Clément
Top achievements
Rank 1
answered on 10 Feb 2014, 07:58 AM
Hello Boris,

Thanks for the answer, the custom connectors answer it perfectly.
The main problem now is the text positionning. It seem that the position is calculated from the drawing zone of the connection and not by the connection itself.

Regards,
Clément
0
Accepted
Boris
Telerik team
answered on 11 Feb 2014, 02:25 PM
Hello Clément,

The content placement logic of the RadDiagramConnection is built-in into it and if you want to change it you'll have to use custom connections. To do this you should derive from the RadDiagramConnection class and override its PositionEditElementOverride() method.
I have attached an updated copy of the previous project that demonstrates how this can be done. 

Could you please examine it and tell us if this is what you are looking for?

Regards,
Boris Penev
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

0
Clément
Top achievements
Rank 1
answered on 20 Feb 2014, 07:52 AM
Hello boris

Thanks for the intel, it seems to fit my need. 
PositionEditElementOverride is computed by the system way to much for me though so I made some additional checking before executing the code inside.

Thanks again
Tags
Diagram
Asked by
Clément
Top achievements
Rank 1
Answers by
Boris
Telerik team
Clément
Top achievements
Rank 1
Share this question
or