Look at https://github.com/Samuel-amap/pse-loose-ends/tree/main about automatic tree generation for tests, graph viz prototypes and others.