-
Notifications
You must be signed in to change notification settings - Fork 186
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
When i create a Tree , its not maintaining the order which in i created the children when i invoke show method #170
Comments
Now you can use: expand_tree(sorting=True) |
@unikevin: Shouldn’t this be Also, I guess it would be nice if the same parameter was available on the |
@salman0149 I think it should be possible to pass a custom counter as a data property and then sort by that key in |
Hi! I've submitted a PR #180. If it's merged, you can use |
Thanks very much , sorry for the late reply let me try this out, but still the PR is not merged |
On a seperate node when i pass tree.show(key=False) , it preserves the order of insertion. |
Hey guys! Without having a look into existing pull requests, I also implemented this functionality in #188 and #189. Unlike @HollowMan6, I removed legacy ordering; Is there any reason to keep it? In my opinion, legacy ordering is rather a bug than a feature, causing undocumented side effects: It basically renders the |
if key is none: key is defined as "return node", which misses the point. The way to go for me was
|
As you see eventhough i created Ben Node first as child it is displaying Annie first, is there an argument in show() or in create_method() which i can pass to maintain the order when i call show method
The text was updated successfully, but these errors were encountered: