Closed balqui closed 2 weeks ago
Also: in some flattening cases, the headnode is chosen near the middle, does this work? is it to be applied in other cases?
In unflattened cases, headnode links to top which will be alpha-smallest, does this work well enough?
Must look up also the "unflatten" method of Graphviz's dot engine. (Edit: Could not make it work.)
Should detect "path" (in particular 4-path) clans and flatten them accordingly, maybe a hidden node may work using the "ordering" graph attribute.
Currently flattens clans of size 2 (OK) and clans of color palette[0] which is white so not seen - but can be detected in little breaks of some lines. If palette[0] becomes seen, maybe we should not flatten them anymore. Also, clans consisting of a single path could be flattened if drawn in the appropriate order.