Some questions about Routing the Link lines & AutoLayout

8 posts, 0 answers
  1. Tom
    Tom avatar
    16 posts
    Member since:
    Sep 2012

    Posted 28 Sep 2012 Link to this post

    I need to create a workflow style diagram which includes IF...THEN  and DO...WHILE logic structures.   The issue I'm having is finding a way to route lines.

    1.   In the case of DO...WHILE loop -- is there a way to route lines back in the chain, and route over/around the other nodes ?

    2.,  You can set the ROOT as an element in a Tree Layout, but can you set the end of the (in my case) workflow, and still use the AutoLayout method?     

    3.  Is there a way to create multiple links between two Node objects and have the lines separated, but running parallel, to the target node?



    Thanks 
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 03 Oct 2012 Link to this post

    Hello Tom,

     1) Our default Connection Routing tries to route the connections in order to minimize the number of crossings between shapes and connections. But it might be too slow in many scenarios. We highly suggest you to implement your own Custom Routing Algorithm for this specific scenario.
    Please check out this help article for more info:
    Diagram Features Routing: Section Default Routing and Section Custom Routing.
    2) There is no property to control the appearance of the leaf-nodes in the Layout Settings of the diagram. However, we are not very sure what you are trying to achieve. Is it possible for you to send us some snapshots of the desired effect?
    3) You are able to create multiple links which connect 2 particular shapes. However, in order to distinguish them, you have to set different SourceConnectorPosition and TargetConnectorPosition of these connections. Still , if you need to use equal Source and target ConnectorPositions for all connections, you have to use CustomRouting to separate them - the get route points must return different Point collections for every connection. Please check again the Custom Routing Section in the mentioned article - it might be very useful in this scenario.

    Let us know if you need further assistance.

    All the best,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Tom
    Tom avatar
    16 posts
    Member since:
    Sep 2012

    Posted 11 Dec 2012 Link to this post

    Thanks for the advice.   And, I apologize for the long time between responses --- 

    On point #2, see the attachment.   This shows the ideal output we'd like to see.  

    Particularly note the Start & End.    Using the default routing, you can set the root, but it doesn't allow you to select the 'Peak' or top of the tree --- the end of a horizontal flowchart, in this case, if the start is the root.
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 14 Dec 2012 Link to this post

    Hi Tom,

     During this Q we will be working on a FlowChart example and we hope it will be helpful. Currently there is no implemented Flow Layout , but if we create one we will consider parameters to determine the start and end node. We appreciate your suggestion.

    All the best,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Tom
    Tom avatar
    16 posts
    Member since:
    Sep 2012

    Posted 15 Mar 2013 Link to this post

    Were there any updates in regards to building a flowchart sample or any additional functionality? 

    I built a solution for this, but it's far from perfect -- and it would be great to find a magic bullet for these issues.


    Thanks
  7. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 20 Mar 2013 Link to this post

    Hi Tom,

    Unfortunately, we did not manage to create a FlowChart Example during last Queue. We are currently working on such example and we will do our best to have it alive for Q2 2013. Please excuse us if there is any inconvenience caused.
    Meanwhile, we will be glad to assist you with the issues you have hit while building your project.

    Greetings,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  8. ben
    ben avatar
    4 posts
    Member since:
    Mar 2011

    Posted 17 Jun 2013 Link to this post

    Hi,

    We need to do something similar to this, has any progress been made on the example?

    Thanks,
    Ben.
  9. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 18 Jun 2013 Link to this post

    Hello Ben,

     Unfortunately we did not succeed to provide a Flow Chart example for this Q.

    Regards,
    Petar Mladenov
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner