I am trying to get https://bl.ocks.org/mbostock/4339083 working with OJet.
I managed to get http://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=diagram&demo=layoutHelper working with a router etc and converted it to a normal tree layout just fine.
I can't see how to show and hide parts of the tree when the user clicks on a node at all. I have had a look at http://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=diagram&demo=containers but its not been a lot of help. So far I can work out how to tell if a node is a container (ie. it has children) but I can't work out how to collapse or expand nodes either when the data loads or in response to a users action.
There must be a way of doing this but I can't see it right now