Closed R-obert closed 3 years ago
Hi @R-obert what version of D3 are you using? It doesn't currently support v6. Try v5.16.0.
... so simple :-) Thank you for the quick help!
Edit stumbled upon the next problem: clicking on the little "settings" icon of a person doesn't open the profile (nothing happens, no error in console either). I have already noticed that you are linking jquery-ui in your examples (which is not mentioned here), so I downloaded it and linked it as well. But still no effect when clicking on settings. Is this again version-related? I have downloaded all libraries today, so they are recent versions - except for D3 of course.
Okay I found out why: there is a necessary div with the id "node_properties". Without it the settings-button will have no effect in the GUI. Can you add that information (and mention jquery-ui) here? Unless I have overlooked something those 2 bits are missing from the docs.
Hi,
I wanted to check out this software and I fail at a simple hello world example. My test folder looks like this:
So basically I have just dumped everything into a folder: the needed libraries (1 folder for font-awesome, 1 folder for d3 and the jquery file), the pedigreejs folder, and my 2 custom files
pedigree_helloworld.html
andpedigree_helloworld.js
. According to the docs that's all I need.Content of pedigreejs_helloworld.html:
Content of pedigreejs_helloworld.js:
So basically I have just copied the dataset that I found on the website and tried to build a simple tree from it. Now, when I open the HTML in my browser, I see this:
Initially there are no errors in the console (i.e. after hitting F5). Then, as soon I move the mouse towards one of the nodes of the tree, the error messages appear in the console. The control buttons near the node just don't appear.