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

Raddiagram connection style

2 Answers 183 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Muthukumar
Top achievements
Rank 2
Muthukumar asked on 29 Sep 2014, 10:27 PM
Hi,

We are trying to create a workflow using Raddiagram, and after adding shapes and connection the diagram looks like attached image. I am looking for formatting the connections in a way they are more better like am seeing in the demo for swimlan diagram, But am finding difficulties to format the connections. Can you please help me with this.

Thank you

2 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 01 Oct 2014, 07:31 AM
Hi,

I already answered this question in your support ticket. I will paste the same answer here so that others form the community can take advantage of it.

"Arranging the connections can be achieved in an easy way by using the Routing feature of the RadDiagram. Please note that our Swimlane demo project makes use of the AStarRouter. You can take advantage of it like this:

var newRouter = new AStarRouter(this.diagram) { WallOptimization = true };
this.diagram.RoutingService.Router = newRouter;
this.diagram.RoutingService.FreeRouter = newRouter;
Please give it a try and let us know if you need any further assistance."

Regards,
Pavel R. Pavlov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Muthukumar
Top achievements
Rank 2
answered on 01 Oct 2014, 04:34 PM
Hi this did the work.

Earlier I was just assigning routeConnections as true and it was taken so much time to show up the screen itself. But after adding these lines it did the trick and it was quick.

Thank you so much..
Tags
Diagram
Asked by
Muthukumar
Top achievements
Rank 2
Answers by
Pavel R. Pavlov
Telerik team
Muthukumar
Top achievements
Rank 2
Share this question
or