The data item is available to the event arguments of the function handler for shapeDefaults.content.visual function but it is not available to connectionDefaults.content.visual Function. Here is an example illustrating the issue: https://dojo.telerik.com/EMAzeruG
Can it be added?
I have to design the flow chart as below using the kendo diagram.
After dragging the connection from bottom shape (Add task) to top shape (Default) as per the requirement it is showing like below. Actually both are same but the design look & feel is completely changed. i want to see the flowchart as like above one. Kindly provide solution for this.
It would be nice if the diagram control could support complex shape json export (diagram.save()) and import (diagram.load()), like shapes contains TextBlocks, etc.
Expand/Collapse feature on click of the diagram nodes. Load data on demand during enpansion of the node.
You should include a flowchart demo for your diagram tool. It is possible - somewhat - but you are not even including a demo for it, while vendors like syncfusion do! The way I found out a flowchart was possible was because of the Kendo UI cookbook and cookbook code files. https://www.packtpub.com/web-development/kendo-ui-cookbook Seriously, I don't know why you are not including a demo for a flowchart in your demo list for the diagram tool; this should be a no-brainer to include, and in theory, you should not even have to build anything new, just use the diagram tool you have already made.
What about adding dynamic scrollbars to the HTML5 Diagram widget? As developer I'm familiar with the pan and zoom concept, but customers and normal users are expected to see scroll bars to move around a diagram. In this demo http://demos.telerik.com/kendo-ui/html5-diagram-sample-app you can add objects that fall outside of the main view, but no scroll bars appears. Here http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback/suggestions/6552432-html5-diagram-control-allow-scrolling was posted a similar request, but the scrollbars Kenshin suggested are static. The scrollbars does't readapt if the work area changes. If you move objects around, apply a different zoom, add more elements, and so on.
Please provide a way to change the styling of lines used to connect shapes in the Diagram widget. Specifically, I would like to have smooth/spline style lines between points similar to http://bit.ly/1t3LU0j or http://bit.ly/1nxzWLB. Having labels on lines similar to the first picture above would also be quite useful.
It should be allowed to extend the Diagram plot area to more than 20000px and/or to calculate the max scroll width based on the Diagram content.
SVG Example: <svg> <defs> <pattern id="Occupied" width="4" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45 50 50)"> <line stroke="#ffb29d" stroke-width="2" y2="10"/> </pattern> </defs> <rect x="5" y="5" width="40" height="100" fill="url(#Occupied)" stroke="#ff7094" stroke-width="1" /> </svg>
It would be nice if the diagram control could support undobale properties load back from saved data. And also if shapes, connections could acquire this property (not only through diagram.addShape and diagram.addConnection).
I save the diagram json to everlive by using the save method and load it into the widget with the load method. My problem is that connection blocks cannot be edited now. I don't think CRUD should be required for this ability.
The diagram has its own built in flow layouts (left, down, &c.). I would like to see an interface provided to allow a custom callback to allow a programmer to create their own layout flow designs. All positioning calculations would be up to the user implementation, but objects that provide information about the current layout while rendering could be provided as parameters to the callback.
Rad Diagram - Support copy paste from one diagram to another,