how to manage the RadDiagramConnection in the diagram?

6 posts, 0 answers
  1. Ruslan
    Ruslan avatar
    15 posts
    Member since:
    Jul 2011

    Posted 16 Apr 2012 Link to this post

    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?
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 17 Apr 2012 Link to this post

    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 >>

  3. DevCraft banner
  4. Scott
    Scott avatar
    13 posts
    Member since:
    Jul 2012

    Posted 22 May 2012 Link to this post

    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

  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 24 May 2012 Link to this post

    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 >>

  6. Subramaniam
    Subramaniam avatar
    7 posts
    Member since:
    May 2014

    Posted 21 Jan 2015 in reply to Petar Mladenov Link to this post

    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
  7. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 23 Jan 2015 Link to this post

    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.

     
Back to Top
DevCraft banner