4 ms·
I'm building a autolayout algorithm specifically [0] for software diagrams. The autolayout algorithm will be used for generating pretty software architecture d
by alixanderwang 6y ago
I'm building a autolayout algorithm specifically [0] for software diagrams.
The autolayout algorithm will be used for generating pretty software architecture diagrams from text that get you 90% of the way there, and then you can tweek it to perfection via a UI.
I have an alpha out of the algorithm on https://terrastruct.com https://terrastruct.com and it's by far the hardest thing I've worked on, and it mostly works, though I'm constantly finding ways to improve it.
[0] It needs to handle containers and clusters, its connections should be mostly orthogonally routed (the tree structure with curved routing in default graphviz is mostly unsuitable), prefer symmetrical structures while reducing total edge distance, etc.
- stevenpetryk 6y agoNeat! I love things that help engineers document their stuff better.
- medium_burrito 6y agoVery cool. I'm trying to do something similar for VR, for live system diagrams- ie parse all the config files for the large company I work for, generate tron-like buildings for the systems by size of compute/memory, and then connect all the dataflows together like pipes. Super hard though! EDIT: My goal is more for real time dataflow visualization, especially understanding how large systems work, and replaying data in outages to see how cascading failures work.