This is a migrated thread and some comments may be shown as answers.

Labels for connections

1 Answer 132 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Jeremiah
Top achievements
Rank 2
Jeremiah asked on 20 Aug 2014, 08:15 PM
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.

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 22 Aug 2014, 10:29 AM
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!
 
Tags
Diagram
Asked by
Jeremiah
Top achievements
Rank 2
Answers by
Iliana Dyankova
Telerik team
Share this question
or