Easer
Easer copied to clipboard
Pivot isn't always well arranged
Describe the bug
The pivot display isn't always well arranged, see screenshot:
Although it could be displeased one near the other, there's a long connecting arrow over nearly the whole screen.
To Reproduce Steps to reproduce the behavior:
- Add some chains.
- In pivot view (maybe also in data view mode), edit one of the scripts that have a parent script at one of the leftmost chains.
- Add a second predecessor to the currently edited script. Choose one of those without a parent/predecessor from th rightmost chains.
- The additional connecting arrow is drawn from right to left through all the scripts/chains in between as shown in the screenshot above.
Expected behavior I expected a rearrangement of the script s order to minimize connecting arrows' length.
Extra phone info (please complete the following information):
- ROM: ArrowOS 11
- microG
- rooted with Magisk
Thanks for filing this bug report. Indeed, this is very friendly...
I will give it a try, but suspect this eventually lies in the library used to draw the hierarchical tree view (GraphView).
I guess this is causes by changing the connection in hindsight. "Fresh" added chains don't seem to fail.
Do isn't it possible to throw all data into the algorithm/library like it's "fresh drawn"? (Sorry, this may be somehow naive, but I don't know how it's implemented.)