ego-tree icon indicating copy to clipboard operation
ego-tree copied to clipboard

Vec-backed ID-tree

Results 10 ego-tree issues
Sort by recently updated
recently updated
newest added

As node-ids are simply integers, it's useful to be able to compare two ids to see which one appears first in the tree

Being able to serialize the tree would be handy, and could be an optional feature gated behind a flag named `serde` or something.

I'd like to insert a child into a NodeMut at a specified index. Seems like it should be easy, but I can't figure it out. Keep running into lifetime problems....

Can we append a tree as a subtree of another tree?

Fixes https://github.com/causal-agent/ego-tree/issues/23.

Calling `insert_id_before` or `insert_id_after` with a node that is already a child doesn't remove it from the parent's list of children. I came across this while trying to replace a...

In a web crawler, when I strip the HTML tree, sometimes `detach()` panic on the `.unwrap()`.

bug

**Scope:** node_mut.reparent_from_id_append(...) **Observation:** reparented child that contains own children retains the link to the old parent. **Expected:** all reparented children get "parent" link updated to the new parent regardless of...