Get all of the ancestors of a node, starting with the root of the tree and ending with the node's own parent (the order in which an event travels down through them). A node which has no parent has no ancestors.
The node to find the ancestors of
Get all of the ancestors of a node, starting with the root of the tree and ending with the node's own parent (the order in which an event travels down through them). A node which has no parent has no ancestors.