mirkobunse / critdd

Critical difference diagrams with Python and Tikz
https://mirkobunse.github.io/critdd
Other
21 stars 3 forks source link

Optimized vertical positioning of group connections #1

Open mirkobunse opened 1 year ago

mirkobunse commented 1 year ago

Currently, the groups are placed at 2/3 of the maximum possible y coordinate. In cases of overlap, a minimum vertical distance of 0.2 between adjacent groups is ensured.

This strategy can lead to oddly-looking distributions of groups. A better strategy would involve a numerical optimization of the vertical positions, modeling the good looks through an objective function that is constrained for non-overlap.