Is it possible to get a node layout relative to the root node?
- Dominant language
- Rust
- Stars
- 3.6k
- Forks
- 222
- Avg merge
- 10h 41m
- Merged PRs (30d)
- 40
Description
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
Contributor guide
Research direction
Start with the TaffyTree::layout() API and the low-level API mentioned in the issue, then inspect how layout coordinates are represented relative to parent nodes. Determine whether a root-relative second pass is supported or would require a new API; done means a clear supported approach or a scoped API change with accompanying tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100