Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add leaf editing functionality #20

Open
chfin opened this issue Jul 16, 2020 · 0 comments
Open

Add leaf editing functionality #20

chfin opened this issue Jul 16, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@chfin
Copy link
Member

chfin commented Jul 16, 2020

It would be nice to have some functionality to delete and re-insert leaves. It could work like this:

  • leaves can be deleted just like inner nodes
    • issue a warning / require confirmation so that leaves are not deleted by accident and forgotten about
  • add a tiny + button between every two leaves for adding new nodes
    • either add new nodes to youngest common ancestor of it's neighbours
      • increases arity, may lead to nonsensical trees
    • or remove all of the tree that reaches over the new node
      • removes rules but doesn't introduce unwanted rules
      • tree might have to be redone anyway
@dharasim dharasim added the enhancement New feature or request label Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants