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

Layered layout - control number of layers per connection

1 Answer 44 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Itai
Top achievements
Rank 1
Itai asked on 11 Apr 2016, 07:20 AM

Is there an option in the layered layout to specify number of layer skips per connection? 

 

For example, I want to have a root node "1", connected to two nodes "2" and "3", but such that "3" appears lower than "2". This data should come from the connection dataItem. 

Is this at all possible, with the Diagram API, or with some other workaround? 

 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 13 Apr 2016, 07:29 AM
Hello,

This is not supported by the layout. It should be possible to implement it by changing the y position with the position method after the layout has been applied.

Regards,
Daniel
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
Itai
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or