Completed
Last Updated: 22 Jan 2020 15:30 by ADMIN
Bhanu
Created on: 02 Apr 2019 10:42
Category: Diagram
Type: Feature Request
0
shapes and connections positions issue in kendo diagram

Hi, 

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.

 

Thanks,

Bhanu N

1 comment
ADMIN
Tsvetina
Posted on: 09 Apr 2019 09:01
Hello Bhanu,

Checking the ticket that you have opened previously, the main issue is that your Diagram is using a predefined layout. The "tree" layout is designed to order the shapes in a tree-like structure. By definition, a tree has a single root element that has one-way connection to its children elements and the children elements have a one-way connection to their children. When you add a connection from a child to the root element, the tree structure is broken and the Diagram can no longer load this layout properly. Currently, all Diagram layouts depend on one way connections between an element and its children. 
What you can do is set layout: null for your Diagram. This will require you to provide explicit and coordinates for each shape added to the Diagram but it will also let you add connections in any direction without breaking the arrangement of shapes.

Regards,
Tsvetina
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.