balqui / degais

Decomposing Gaifman Structures (again)
MIT License
1 stars 0 forks source link

About flattening and headnodes #10

Closed balqui closed 2 weeks ago

balqui commented 1 month ago

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.

balqui commented 1 month ago

Also: in some flattening cases, the headnode is chosen near the middle, does this work? is it to be applied in other cases?

balqui commented 1 month ago

In unflattened cases, headnode links to top which will be alpha-smallest, does this work well enough?

balqui commented 4 weeks ago

Must look up also the "unflatten" method of Graphviz's dot engine. (Edit: Could not make it work.)

balqui commented 3 weeks ago

Should detect "path" (in particular 4-path) clans and flatten them accordingly, maybe a hidden node may work using the "ordering" graph attribute.