Hi Karthick,
We have created a sample in which we have rendered image icon as an group node. Also when you click on the image icon, the diagram click event gets triggered and in that event, we open URL in new tab. Please refer to the code example below which shows how to define the click event and sample below.
Code example:
//define click event
model.Click = "click";
function click(args) {
if (args && args.element) {
//check the node name
if (args.element.name === "user") {
//redirect the url
window.open("https://www.syncfusion.com/downloads/metrostudio");
}
}
}
Please refer to the help documentation which shows how to create a group node.
Regards,
Shyam G