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 depth in matches #88

Open
Drarig29 opened this issue Apr 10, 2021 · 2 comments
Open

Add depth in matches #88

Drarig29 opened this issue Apr 10, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@Drarig29
Copy link
Owner

As Toornament does here https://developer.toornament.com/v2/doc/organizer_bracket_nodes, it would be nice to add depth in matches.

This number starts at 1 (the end of the bracket, aka. root of the tree) and the bigger it is, the closer it is from the start of the bracket, aka. leaves of the tree.

image

@Drarig29 Drarig29 added the enhancement New feature or request label Apr 10, 2021
@PaulEvans8669
Copy link

PaulEvans8669 commented Oct 19, 2021

In my opinion, simplest solution would be to build a dependency graph and number the graph entries from last to first in dependency order.
I'll have a look. Other solutions might apear while I work on it.

@Drarig29
Copy link
Owner Author

I don't know if I'd want to persist this information or only provide a way to compute such information with a get.bracketNodes() method.

I think I'd prefer the latter.

Same for #87 and maybe #86.

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