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: GoJS Class Hierarchy Tree (although it defines doubleClick instead of click) and Euler Diagram .

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.