Path hierarchy for menu

Hi, is there a way to add in the menu a hierarchical path to folders, such as:


https://lucidworks.com/post/easy-hierarchical-faceting-and-display-with-solr-and-jquery-and-a-tiny-bit-of-python/