getMsts() does not return all MSTs
To reproduce: type sequence rrrrr
: the glyph should be a snake-like shape (minimize intersections), but it's not.
This is because getMsts()
does not return all MSTs. Note the graph is correct (all edges are included).
The solution is to fix getMsts by using recursion.
A solution could also be to implement Yamata's algorithm (#33), but it's more complicated.
Edited by Nathanaël