TreeFamily

Hello. Sorry, but I have three questions on Diagram tree species.

The first question:

I have a code tree, where two wives grouped together with her husband.

----------------------------

Tree kinds of cats

But where to insert the hyperlink code:

---------------------------

{ cursor: "pointer",

click:function openWindow() {window.open("./modal_window/cat_Great-grandparent.html");}

},

---------------

I can not find.

I think you probably want to put that code in your Node template. And maybe in your Group template.

See for example: http://gojs.net/latest/samples/classhierarchy.html (although it defines doubleClick instead of click) and http://gojs.net/latest/samples/euler.html .

Sorry, If I enter this code in the node template or template group, one link will work on all nodes, and need a reference personalono for each cat.

Of course your click function should compute the URL that it wants to show. Take a look at those samples that I mentioned.