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

Diagram - multiple parents

1 Answer 149 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 22 Jan 2020, 10:39 AM

I have created a Diagram (using the example from https://demos.telerik.com/aspnet-mvc/diagram) to show a workflow which is great, but i have an issue which im not sure is supported by the Diagram control.

I have a single parent box and then i can have one or more children from the parent, which works fine. If I have two children from the parent I want both children to then link to a single (same) child. I cant seem to be able to link a child to multiple parents. Is this possible?

I've attached an example image to show what's required.

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 24 Jan 2020, 11:15 AM

Hi Jon,

 

Thank you for contacting us.

The functionality shown on the screenshot can be achieved by manually adding connections to specific shapes. For adding a shape the addShape method can be used and for a connection use the connect method.

Check out the example below that illustrates how the methods can be utilized: 

https://demos.telerik.com/kendo-ui/diagram/api

 

Regards,
Viktor Tachev
Progress Telerik

Get quickly onboarded and successful with your Telerik UI for ASP.NET MVC with the dedicated Virtual Classroom technical training, available to all active customers.
Tags
Diagram
Asked by
Jon
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or