The tree_to_pseudo () function is quite tricky because it's recursive. There are several versions of similar functions available on the web. The version presented in the demo program is a combination ...
pt. 1. The whole-lifespan perspective on integration of structure and function -- pt. 2. Reproduction and regeneration -- pt. 3. Integration of structure and function across ontogeny -- pt. 4.