My requirement is to create a diagram which is using different widgets to child and parent nodes. Is there a way to use two or more different custom templates for parent and its child nodes. Please see the image below that is something I want to create
1 Answer, 1 is accepted
0
Accepted
Georgi Denchev
Telerik team
answered on 28 Mar 2023, 11:59 AM
Hi, lahiru,
You'll likely want to use the Diagram component to achieve something similar to the showcased picture.
In the Diagram, you have the option to change the appearance of a shape based on the data. This can be achieved with the shape.visual configuration.
Best Regards,
Georgi Denchev
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/.
My requirement, Nodes should visualized as different html widgets ( consist with headers, footers, many icons, texts). For that is there any way to use different html templates for particular nodes based on data ?
Georgi Denchev
Telerik team
commented on 31 Mar 2023, 08:14 AM
Hi, lahiru,
You can use different templates based on the data, however I am not certain which component you're using so I cannot suggest a more concrete solution.