Wiki source code of Creating the HyperTree
Version 1.1 by Normann P. Nielsen on 2026/11/15 15:44
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | = Files = |
| 2 | |||
| 3 | These 3 files must be implemented - [[HyperTreeFiles.zip>>attach:HyperTreeFiles.zip]] | ||
| 4 | |||
| 5 | jit.js (a slightly modified version - supports rightclick of the original jit.js from [[http://philogb.github.io/infovis/]]) - Great work by [[https://twitter.com/philogb]] | ||
| 6 | |||
| 7 | init.js (also "homemade" from the original example code) | ||
| 8 | |||
| 9 | = First = | ||
| 10 | |||
| 11 | Add the 3 files to the page (or some page for reuse) - or get them from somewhere else: | ||
| 12 | |||
| 13 | = Second = | ||
| 14 | |||
| 15 | Create a Page an insert the HTML to load the files (Notice the 51118133 number will be different): | ||
| 16 | |||
| 17 | [[image:Screen Shot 2015-09-25 at 14.45.04.png||width="853"||height="129"||alt="Screen Shot 2015-09-25 at 14.45.04.png"]] | ||
| 18 | |||
| 19 | Add the DIV Canvases to the Page: | ||
| 20 | |||
| 21 | [[image:Screen Shot 2014-03-11 at 19.54.30.jpg||width="583"||height="194"||alt="Screen Shot 2014-03-11 at 19.54.30.jpg"]] | ||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | = Third: = | ||
| 26 | |||
| 27 | Config the Hypertree JSON Macro: | ||
| 28 | |||
| 29 | [[image:Screen Shot 2014-03-11 at 19.55.32.jpg||width="600"||alt="Screen Shot 2014-03-11 at 19.55.32.jpg"]] | ||
| 30 | |||
| 31 | |||
| 32 | |||
| 33 | = Fourth: = | ||
| 34 | |||
| 35 | Save the page an see the Hypertree :) like [[HyperTree Sample>>Main.atlassian.hypertree-sample]] |