The new RGraph Tree structure object
Written by Richard Heyes, RGraph author, on 20th September 2025Version 7.01 will have a new Tree structure object in the API which will make creating and managing tree structures easy.
Now all the cheering and celebrations have died down from the release of version 7.00 (...) I've started working on adding a new Tree structure object to RGraph that will be a part of version 7.01. This will make creating and manipulating tree structures easier.
Something that I've added to this tree structure that may make it very interesting to you is the ability to show a folder tree. This is something that I first did over 20 years ago (!) when I was writing PHP code for the PEAR project (HTML_TreeMenu if you're interested).
so you might think that it would a breeze for me. Well... in some respects! None of the code has come from the old project though - it's all brand new and up-to-date.
It could be very useful for menu systems - particularly for backends. It will be customisable of course and with data: sources for the images they won't rely on external files this time. If all goes to plan, the branches will be dynamically collapsible too like the old PEAR version was.
Oh, and as you can see from the image of music bands above - I had some pretty poor taste in music when I was younger!