We could (theoretically) compute a phylogenetic tree using Neighbor-Joining (like we do in the Tree Viewer), and use the computed distances between any two nodes and their mutual ancestor to infer directionality (the node that's closer to the ancestor is the source, the node that's farther is the target).
Need to find a tree-traversal library that can 1) identify common ancestor between any two members, and 2) compute distance between members and ancestors.
We could (theoretically) compute a phylogenetic tree using Neighbor-Joining (like we do in the Tree Viewer), and use the computed distances between any two nodes and their mutual ancestor to infer directionality (the node that's closer to the ancestor is the source, the node that's farther is the target).
Need to find a tree-traversal library that can 1) identify common ancestor between any two members, and 2) compute distance between members and ancestors.