You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in #2963, the path sorting approaches in the initial parcats trace are pretty simple.
When sortpaths is 'forward' the paths are sorted by categories in their left-most dimension, then by the second leftmost, and so on, and finally by the right most dimension.
When sortpaths is 'backward' the process is repeated with the dimensions considered from right to left.
These approaches aren't optimized to minimize path crossing, so it would be nice to introduce one or more algorithms for sorting paths so as to minimize crossing paths.
In the Three dimension all the grey paths come together, yet the B->11 and C->11 paths are interleaved. And the red A->11 goes all the way to the bottom, but it could go to the top of the red bundle, resulting in less self-crossings. We should be able to find an algorithm that untangles these.
In addition, there would also be the option combining path sorting and category ordering (maybe setting both categoryorder and sortpaths to 'auto' or something) so as to further reduce path crossing.
The text was updated successfully, but these errors were encountered:
Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson
As discussed in #2963, the path sorting approaches in the initial
parcats
trace are pretty simple.When
sortpaths
is'forward'
the paths are sorted by categories in their left-most dimension, then by the second leftmost, and so on, and finally by the right most dimension.When
sortpaths
is'backward'
the process is repeated with the dimensions considered from right to left.These approaches aren't optimized to minimize path crossing, so it would be nice to introduce one or more algorithms for sorting paths so as to minimize crossing paths.
For example:
![pathexample](https://user-images.githubusercontent.com/15064365/46225849-7ee75c80-c328-11e8-8c14-caed11a5c113.png)
In #2963 @alexcjohnson noted
In addition, there would also be the option combining path sorting and category ordering (maybe setting both
categoryorder
andsortpaths
to'auto'
or something) so as to further reduce path crossing.The text was updated successfully, but these errors were encountered: