TLDR Dev · MISCELLANEOUS
STACKING DEPENDENCIES
Summary from the TLDR Dev newsletter
Inspired by the XKCD comic about software dependency towers, this dev created a tool to visualize dependency graphs as physical towers. He encountered an NP-hard problem that required him to explore graph theory and various algorithms, ultimately combining a barycentric heuristic with PQ-tree pruning for fast layout generation. The resulting tool normalizes the dependency graph and then renders it as stackable towers with information about maintainers.