Multiple diagrams in one panel

6 posts, 1 answers
  1. Marc
    Marc avatar
    66 posts
    Member since:
    Jul 2010

    Posted 29 Feb Link to this post

    Is is possible to have multiple diagrams (tree structures) in the same drawing panel? If so is there an example of how this would be done?
  2. Answer
    Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 02 Mar Link to this post

    Hello Marc,

    I am not sure if I understand correctly the question but multiple tree structures will be shown if you have multiple roots(example). If this is not what you are trying to achieve then please provide more detailed information.

    Regards,
    Daniel
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Marc
    Marc avatar
    66 posts
    Member since:
    Jul 2010

    Posted 02 Mar in reply to Daniel Link to this post

    yes, I meant multiple roots, thanks for your reply, that helped me.

    One other question. Is there a simple way to optimize the layout for printing on a typical page size (8.5 x 11, 11 x 17, etc)?

     

  5. Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 04 Mar Link to this post

    Hello again,

    Could you clarify what you mean by "printing"? Generally speaking in the case of multiple layout components you can somewhat control the resulting size via the layout.grid.width option and the distances between the elements for the specific layout but there is no way to ensure certain size in all cases without scaling the elements.

    Regards,
    Daniel
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Marc
    Marc avatar
    66 posts
    Member since:
    Jul 2010

    Posted 04 Mar in reply to Daniel Link to this post

    I meant logic that would maintain the basic tree layout, but rearrange the outlying elements to dimensionally fit on a page. Sorry I don't know a better way to describe it, but this is what our users do manually in visio and we are trying to simulate it programmatically.

    One more question. Is there way to clean up the connectors in the tipover layout, so they are outside of the rectangle elements. See attached.

     

  7. Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 08 Mar Link to this post

    Hi,

    There isn't a layout option that could be used for this purpose. I can suggest either to use the bringIntoView method or the shapes position method to rearrange the outlying shapes after the layout is completed. 

    As for the tipover connections issue - which version are you using? This should happen automatically with the latest versions as can be seen in this demo.

    Regards,
    Daniel
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready