Dendrites and their kin, from a betweenness perspective