A demo to show how you can have a link for each tree item and use it with anchors.
Note: a custom property named 'my-hash' is used here to hold the URL/hash value for each item (see the JSON).
The anchors are not defined into this page. You can define them by including one <a id="my-hash">section title here</a> tag
(where the value of the ID attribute 'my-hash' need to be replaced with the real hash value corresponding to the anchor).
See a demo with hash/anchors only for tree leaves (items without children) here.