Any particular sites/webapps you like as examples of hierarchical design? I am a tech lead and struggle to come up with anything better than Material Design's nav drawers with sub-items, or equivalent.
Having said that, I suspect the use cases of notes are quite varied, so a one-size-fits-all approach might not be straightforward.