epreston / PSTreeGraph

A tree graph view control for iPad applications. This is a port of the sample code from Max OS X to iOS (iPad).
http://epreston.github.io/PSTreeGraph/
259 stars 50 forks source link

Q: showing only the next layer and not the whole tree #13

Closed jolo2000 closed 12 years ago

jolo2000 commented 12 years ago

Hello,

i would like to start with a collapsed tree and with pressing the expand button, only the next layer of the subtree should be shown. Actually the whole subtree is displayed. Has anybody realized such a feature?

Yours Johannes

jolo2000 commented 12 years ago

Hi,

here is a small hack, which enables that feature. I added the following method to the PSBaseSubtree class:

HTH Johannes