I saw in
https://en.wikipedia.org/wiki/Graphviz some tree dependency, build by
Title: graphviz.tcz
Version: 2.38.0
Size: 5.9MB
Extension_by: juanito
Comments: graph drawing programs and libraries
Change-log: first version
Current: 2016/01/28
I do not know how o use it; and even if I will know, I think we do not need a 6 MB apps to draw an ASCII tree, when we have a tcz.dep.db.gz on the server.
The idea is to have a A.tcz as root, and then list (optionally to a specific level, let say LEV=4 branches), the hierarchical tcz which ask for this A.tcz, aside of their size. Something like:
A.tcz
- B1.tcz [x1 kb]
-- C1.tcz [x2 kb]
-- D1.tcz [x3 kb]
- B2.tcz [x1 kb]
-- C2.tcz [x2 kb]
-- E1.tcz [x1 kb ]
-- F1.tcz [x2 kb]
-- D3.tcz [x3 kb]
-- E1.tcz [x1 kb]
- B3.tcz [x1 kb]
I think having these 2 files on the server: size.gz (kb for each tcz) and the new tcz.dep.db.gz, some skilled programmer could build a script using just busybox tools, like awk.
The logic i think is similar with the engine of tce-load, using an array of variable number of fields in awk.
I do not have the skills, but maybe someone could take the challenge, for fun, or as an exercise.