taffy icon indicating copy to clipboard operation
taffy copied to clipboard

Is it possible to get a node layout relative to the root node?

Open UditDey opened this issue 9 months ago • 5 comments

Hi I have a question about using this library, in my application I need random access to any node's layout relative to a root node. It seems that the TaffyTree::layout() method only gives you the layout relative to the parent node. Is it possible to do a second pass to resolve all layouts relative to a root node or something like that? Will I have to roll my own tree using the low level API to do this?

Thanks

UditDey avatar May 21 '24 08:05 UditDey