To get all descendants of a node, fetch all nodes that have a lft value larger or equal than your node and a rgt value smaller or equal than your node. You can then use the node repos node tree builder function to create a new partial node tree with your parent node as root element