temporalmapper.layout
Functions
|
|
|
Try nearest neighbor from each starting point within a component, return the best. |
|
|
|
Compute node positions |
|
|
|
Find groups of objects that are mutually reachable (finite distances). |
|
Use force-directed algorithm to find y-positions that minimize crossings X-positions are fixed (time), optimize only y-positions |
|
|
|
|
|
Greedy algorithm: always go to the nearest unvisited object. |
|
Barycenter-based layout for edge-crossing minimization with: - adaptive learning rate - momentum - normalization - early stopping |
|
Faster 2-opt using numpy vectorization for distance calculations. |