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

how to manage the RadDiagramConnection in the diagram?

5 Answers 287 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Ruslan
Top achievements
Rank 1
Ruslan asked on 16 Apr 2012, 06:20 PM
I need to build orgchart with connections in the form of rectangular lines with arrows, and you need so that I can move the point at which these lines are under construction.
The existing building algoritm when the property ConnectionType=polyline wrong line of too manylines.
How to manage it, and when it will be improved? 
How do I get a graph like the one that is shown in attached picture? 
where you can learn what will be added in Q2 2012?

5 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 17 Apr 2012, 01:04 PM
Hi Ruslan, 

Thank you for your interest in RadDiagram.
In Q2 2012 (mid June) we are going to update our OrgChart example to use polyline connections. It will use a new connection routing algorithm that we are currently developing. This routing mechanism will handle the usual Org Chart item layout shown in your second picture. So please stay tuned for the update.

All the best,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Scott
Top achievements
Rank 1
answered on 22 May 2012, 10:37 PM
Hello,

When creating an org chart, if I switch from Straight to Polyline my code locks up at OrgLayoutAlgorithm.Layout. Is there a work around to get Polyline and OrgLayoutAlgorithm to function with the current release?

I'd like to know for certain if the Q2 Mid June release of Rad Silverlight controls will have the ability to build the Org Chart Demo but with polylines as the first poster asked. Juggling tight release dates, hence my inquiry.

Is there an internal build which can handle the Polylines with OrgLayoutAlgorithm?

This control is really great. I have been using a competing product, but it had a printing issue. I was able to port my code to RadDiagram in a afternoon.

Thanks,

Scott

0
Petar Mladenov
Telerik team
answered on 24 May 2012, 05:37 PM
Hi Scot,

Thank you for your feedback and your interest.
Please wait for the Official Q2 2012 scheduled for the first half of June. You will be surprised by the amount of new features we will going to release among them are more than 10 types of Layout of shapes, Polyline Routers, Bezier Connections, BezierPolyline Conenctions, Custom Connector Points, Printing control for WPF, Grouping, etc.
Please just stay tuned for the update.

Kind regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Subramaniam
Top achievements
Rank 1
answered on 21 Jan 2015, 02:04 PM
Hi Petar,
Actaully i am using raddiagram and raddiagram for the graphical representation of Server networks, So i have attached the image,
In that connections i have been highlighted the issue from Red color out line, and mine requirement from green color, in image you can see, the blue connection line have so much turn, while if you see it should be like green lines connections,
Please let me know how can i avoid these many turns from Polyline tyle Connections style, please provide me a sample...

Regards,
Subramaniyam
0
Petar Mladenov
Telerik team
answered on 23 Jan 2015, 02:37 PM
Hello Subramaniam,

You can replace the default routing algorithm by setting the AStarRouter like so:
this.diagram.RoutingService.Router = new AStarRouter(this.diagram) { WallOptimization = true };
this.diagram.RoutingService.FreeRouter = new AStarRouter(this.diagram) { WallOptimization = true };

Basically this router will try to minimize the number of turns when it routes the connection from point A to point B and will try to avoid crossing with Shapes. We will soon add it in our documentation as well.

Regards,
Petar Mladenov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Diagram
Asked by
Ruslan
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Scott
Top achievements
Rank 1
Subramaniam
Top achievements
Rank 1
Share this question
or