The algorithm to calculate the position of the items is done in one method (MultiScatter.do_generate()) hardcoded for all scatter types.
This is hard to maintain and inefficient.
=> Create separate classes for each scatter type.
=> Shorten the algorithm to use these calculation classes
The algorithm to calculate the position of the items is done in one method (MultiScatter.do_generate()) hardcoded for all scatter types. This is hard to maintain and inefficient. => Create separate classes for each scatter type. => Shorten the algorithm to use these calculation classes