Labels for connections

2 posts, 0 answers
  1. Jeremiah
    Jeremiah avatar
    5 posts
    Member since:
    Oct 2012

    Posted 20 Aug 2014 Link to this post

    Does anybody have any ideas on how to add labels to a connection within a Kendo UI diagram?  The diagram is bound to a collection of "nodes" and those nodes have been passed from the server in such a way that allows the diagram to display the hierarchical models using MVVM.  With that being said, the visual connections are created automatically through the use of the HierarchicalDataSource although there's no way to add labels to those connections without writing a lot of code. Ultimately, I'm using the diagram's itemBoundsChange event to try to keeping track of when positions change within the Diagram and then add TextBlocks to the diagram which should appear to the side or on top of the connection.  When I attempt to add a basic shape to the diagram from within this method, I am gettinga a "drawingContainer" is undefined or missing properties exception.
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 22 Aug 2014 Link to this post

    Hi Jeremiah,

    This scenario is currently not supported by Kendo UI Diagram and there is no suitable workaround I can suggest. We will appreciate it if you submit this idea as a feature request at our UserVoice page - this way the community would be able to vote and comment it. The more votes the suggestion collects, the higher priority will have when planning for a release.

    Regards,
    Iliana Nikolova
    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
Back to Top