As described in #81, sometimes an overlap area will not be rendered on the screen. This can be fixed by updating the initial layout and the loss function (to prioritize ensuring all overlaps are shown). However, this may not be needed in every case, so a change to the default code is not needed. The initial layout can be replaced, but not the loss function. This PR adds the ability to specify the loss function externally.
As described in #81, sometimes an overlap area will not be rendered on the screen. This can be fixed by updating the initial layout and the loss function (to prioritize ensuring all overlaps are shown). However, this may not be needed in every case, so a change to the default code is not needed. The initial layout can be replaced, but not the loss function. This PR adds the ability to specify the loss function externally.