Bad graphic result

4 posts, 0 answers
  1. Thierry
    Thierry avatar
    3 posts
    Member since:
    Dec 2013

    Posted 03 Mar 2014 Link to this post


    I have an issue with a graphic result with the RadDiagram.
    The obtained result is not systematic, but sometimes the connection is not drawn as expected.

    This is the way, the diagram is initialized:

    this.Diagram.RoutingService.Router = new OrgTreeRouter
        TreeLayoutType = TreeLayoutType.TreeDown,
        ConnectionOuterSpacing = 16
    var settings = new TreeLayoutSettings
        TreeLayoutType = TreeLayoutType.TreeDown,
        VerticalSeparation = 100,
        HorizontalSeparation = 40,
        AnimateTransitions = false
    this.Diagram.Layout(LayoutType.Tree, settings);
    this.Diagram.AutoFit(new Thickness(20), false);

    Is there a way to get the expected result ?

    Best regards,
  2. Shawn
    Shawn avatar
    48 posts
    Member since:
    Jul 2012

    Posted 03 Mar 2014 in reply to Thierry Link to this post

    Try increasing your VerticalSeparation and see if it will layout correctly then. 

  3. Thierry
    Thierry avatar
    3 posts
    Member since:
    Dec 2013

    Posted 11 Mar 2014 Link to this post

    Thanks for your response.

    But, it does not explain why the result is sometimes as expected and sometimes not.

    Increasing the VerticalSeparation may transform the result in something awful : the connections may take too much space to achieve my goal.
  4. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1236 posts

    Posted 14 Mar 2014 Link to this post

    Hello Thierry,

    I tested the reported behavior on our side with our latest official release and it seems that the code works as expected. Could you please try to isolate the reported behavior in a small project and send it over along with detailed steps to reproduce it?

    By doing so we will be able to further investigate the reasons behind the issue. Thank you for your cooperation.

    Pavel R. Pavlov

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

Back to Top