pub fn global_position(tree: &NodeTree, id: &NodeId) -> (f64, f64)Expand description
Calculates the global world-space position of a node within a NodeTree.
Computes global position by accumulating local position vectors along the ancestor
chain from the target node up to the root. Nodes lacking a position property are
treated as having an offset of (0.0, 0.0). Moving a parent node automatically carries
all of its descendants.