Let’s start with some examples from the literature, find out necessary elements, compare different versions and develop a R template for general use.
“Exploding Stars”
CDC Field Epidemiology Handbook, 2019, ISBN 9780190933692 p115
“Tetris”
https://doi.org/10.1016/S0140-6736(20)30154-9 (2020)
“Clean Undeterministic”
“Clean Tree”
https://academic.oup.com/mbe/article/34/4/997/2919386
“Tree Addons”
https://openres.ersjournals.com/content/4/2/00162-2017
“Railways”
https://www.ages.at/service/service-presse/pressemeldungen/epidemiologische-abklaerung-am-beispiel-covid-19/
“Simple ”
https://www.ncbi.nlm.nih.gov/pubmed/32003551
“Vertical”

“star bus”
https://en.wikipedia.org/wiki/Index_case
“Mathematical”
https://www.biorxiv.org/content/10.1101/142570v3.full
“Genetics”
https://wwwnc.cdc.gov/eid/article/26/9/20-1798_article