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

Add Nodes Above Root

3 Answers 104 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Konstantinos
Top achievements
Rank 1
Konstantinos asked on 15 Sep 2020, 01:53 PM

Hi all

I used to have a tree structure format where everything was related to the root in a specific direction.

An example:

E.g. Having a company and see its shareholders and shareholder of shareholders etc.

 

Now I want to add further elements above the root, to show from which elements it is derived.

E.g. See in which other companies, my company is shareholder of

 

I tried setting TreeLayoutType as MindmapVertical, but it is not what I expected.

As I presume I cannot point the position (up/below root) the elements will be drawn.

It just semi-randomly selects which will be drawn where from the whole list of child elements.

 

Another idea I had was to read the whole list of child elements and make the furthest one the root.

Then I will go down rows till I reach the actual root.
Then traverse the tree downwards like I would do previously.
I haven't tried it, but I would suppose eventually the alignment of the tree would be totally wrong.

 

In general, has anyone ideas on how I can achieve the wanted functionality using Telerik?

 

3 Answers, 1 is accepted

Sort by
0
Konstantinos
Top achievements
Rank 1
answered on 16 Sep 2020, 07:53 AM
The diagram I am trying to create should be similar to this

https://creately.com/diagram/example/ina5zts92/Corporate+Org+Chart+with+Board+of+Directors

End-result should be more complex however, as a board director could have it's own set of board directors on top of him
0
Dilyan Traykov
Telerik team
answered on 18 Sep 2020, 09:47 AM

Hi Konstantinos,

To achieve the desired result, you will need to create a custom layout for the RadDiagram. You can have a look at the Layout demo available in our SDK Samples Browser, the source code of which is also available in our GitHub repository.

As such custom implementations, however, go out of the scope of our support services, I can recommend reaching out to our Professional Services team if you require further guidance. If I can, however, assist you with anything else that does fall within our scope, please let me know.

Regards,
Dilyan Traykov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Gensys Development
Top achievements
Rank 1
answered on 03 Mar 2021, 09:19 AM

Hi Konstantinos,

 

I'm looking to solve a similar problem. Have you found a solution yet?

Tags
Diagram
Asked by
Konstantinos
Top achievements
Rank 1
Answers by
Konstantinos
Top achievements
Rank 1
Dilyan Traykov
Telerik team
Gensys Development
Top achievements
Rank 1
Share this question
or