I have been ‘mucking around’ (kiwi expression for fiddling) with orgchart js. I am trying to use it to create a four generation animal pedigree chart. Its much like a family tree. My table has a herd_book_number, dam_code and sire_code. Approximately 4,000 animals. I want to be be able to nominate the root node and then the sql defines the subsequent generations.
Essentially orgchart js uses a json to load the nodes. I cant get it to select a root node (from which the subsequent child nodes are generated). Nor can I get it to place the root node at the top of the chart - it always puts the generation that has no more children at the top of the chart.
All suggestions appreciated
Regards
Doug Maclean