I am looking for in an org chart for me to look at considering this library in my application. So for it looks great, but looking to solve this issue;
For each node in the org chart I would like to have an HTML link to open new window for employee, similar to below image, i would like to understand how i can make the text inside a node clickable into a new window. I have tried using DiagramHTMLElement, but gives me errors and not sure how to use it.

So far have this, but rendering like so;

setNodeTemplate: function (obj, diagram) {
var content = new StackPanel();
content.id = obj.id + '_outerstack';
content.orientation = 'Horizontal';
content.style.strokeColor = 'gray';
content.padding = {left: 5, right: 10, top: 5, bottom: 5};
var image = new ImageElement();
image.width = 50;
image.height = 50;
image.style.strokeColor = 'none';
image.source = obj.data.avatarUrl;
image.id = obj.id + '_pic';
var innerStack = new StackPanel();
innerStack.style.strokeColor = 'none';
innerStack.margin = {left: 5, right: 0, top: 0, bottom: 0};
innerStack.id = obj.id + '_innerstack';
var nameText = new TextElement();
nameText.id = obj.id + '_text1';
nameText.content = obj.data.fullName;
nameText.style.bold = true;
var positionText = new TextElement();
positionText.id = obj.id + '_desig';
positionText.content = (obj.data["position"] ? obj.data["position"] : "");
var subordinates = new TextElement();
subordinates.id = obj.id + '_subord';
subordinates.content = obj.data.subordinates.toString();
innerStack.children = [nameText, positionText, subordinates];
content.children = [image, innerStack];
return content;
},