Hierarchy browser (Tree View)

Certified Senior Developer

We are trying to fetch all the users through database bases on there position and showing it in Hierarchy browser (Tree View).
Is there a way to display all users in a tree view without needing to click the "+" icon individually for each user position, as shown in the attached screenshots?

  Discussion posts and replies are publicly visible