3 ms·
Ive tried this before but with a complex build the graph is unwieldy and useless
by sydthrowaway 5y ago
Ive tried this before but with a complex build the graph is unwieldy and useless
- kergonath 5y agoIt’s probably more suited for the OP’s use case (a couple of files causing some re-building) because otherwise yeah, the build tree can be humongous. That said, isn’t there some software to visualise dot files in a more sophisticated way than just generating a picture? It would be handy to be able to collapse/expand sub graphs in a GUI, for example.
- jcranmer 5y agoThere's a couple of interactive graph visualization software out there that could be used instead of static dot file generation. (One of the advantages of DOT is that it's a pretty common de facto standard for describing graphs, so you can import it into most graph manipulation libraries and mangle it further using that.)
- datashaman 5y agoSomething like this could be handy. (Disclaimer: never used it) https://pypi.org/project/pydot/ https://pypi.org/project/pydot/
- JNRowe 5y ago[Noting that you said GUI, and what I'm about to say isn't] There's a lot more to Graphviz than just dot, as it comes with some really good filtering tools that people often seem to miss. You can achieve an awful lot with just bcomps/ccomps. And, when you're running queries gc is useful to see that you're heading down the right path.
- kergonath 5y agoYes, that could also be helpful to split a complicated build graph into more manageable pieces. I had a look at the tools available for an unrelated project a while ago; I probably need to see what’s available now. Hopefully the tools have progressed a bit.