最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - How to make `graphviz` generate class diagrams for a whole repo, upon a push - Stack Overflow

programmeradmin2浏览0评论

How is it possible to use graphviz together with GitHub workflows to trigger creation of class-diagrams (using graphviz), and their inclusion in the readme.md file?

The thing which confuses me about such a solution is the fact that you would have to install two things:

  • the python package (i.e. library) which uses graphviz (with some shell-command like: pip install graphviz, or poetry add graphviz, depending on the package-manager which you are using)
  • the C-program which is also called graphviz

I have an SDK repo which I am building, and it is rapidly being developed, with already a lot of classes being defined inside of it. Instead of having to generate class-diagrams for the readme.md file every time a change is introduced to some of the classes, I would like to automate this. Locally generating the class-diagrams is straightforward, but how to do it on the remote, and do I have to ship the C-app somehow to the remote to be able to achieve this?

Note: Please try to suggest a solution which is using AWS services rather than using Docker, because I have much more experience there.

发布评论

评论列表(0)

  1. 暂无评论