How to get the positions of nodes of TreeNode of pTree in Angular as per the hierarchial order in which they are displayed?
I am having data of type TreeNode and in t