Java: Visualize the chain of responsibility steps

Viewed 152

I have an EnrichmentStep interface. Each its implementation enriches the passed Message with the additional data and passes the result to the next EnrichmentStep until the chain ends.

I want to visualize business logic of the whole enrichment process. What matters is that I don't want to draw any diagrams manually. I want whose schemas to be generated automatically based on the codebase. So, the documentation will be always in sync with the implementation.

Are there any options to automate the process? Besides, the tool should be run with the command line because I want to host the output diagrams on GitLab Pages.

P.S. I use Spring Boot and Project Reactor, if that matters.

0 Answers
Related