Caleydo / lineage

Tree-based graph visualization: genealogies and general graphs 💬 @cnobre
BSD 3-Clause "New" or "Revised" License
22 stars 5 forks source link

Deterministic Traversal / Sorting Strategy #282

Closed alexsb closed 6 years ago

alexsb commented 6 years ago

We want to have a user-chosen, deterministic traversal and sorting strategy. The main problem right now is the decisions of which leaf to visit first.

As far as I know, this is alphabetical right now; I'm not sure what effect the sorting has. We need to do this based on data; alphabetical is one option, but we want many others.

Ones that work independent on type:

If it's based on the attributes of a type, I'd suggest to put the items of the sorted type first, sort them, and then follow by all other types.

alexsb commented 6 years ago

For now, sort children alphabetically in extract tree.

cnobre commented 6 years ago

done.