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

different delete (-) behavior for node that has only one child #77

Open
stengel opened this issue Apr 3, 2016 · 0 comments
Open

different delete (-) behavior for node that has only one child #77

stengel opened this issue Apr 3, 2016 · 0 comments

Comments

@stengel
Copy link
Member

stengel commented Apr 3, 2016

If one clicks "delete" on a node with a single child, the node itself should be removed by now creating a direct line from the parent to the child. The current behavior is to remove the child and its subtree. So here the subtree would be kept intact but become the child of the parent of the node of the deleted node, reached by the move name from the parent node. What would be removed is the node and its single outgoing move.

If the node is in an information set, then all nodes in that information set must have the same number of moves, in this case a single move.
At the moment, any "delete" click on a node in an information set has the effect to apply to ALL nodes in that information set (i.e. all subtrees will be removed, and the information set itself dissolved). I am not sure I like this behavior - I think it would be better to just take the node out of this information set, but this is a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant