We use the open source diagram as code software based on C4 model (here)
Structurizr is the open source Diagram as code tool based on Domain Specification language ( DLS ).
To run the server locally you need to install Docker desktop
Run the following commands:
> docker pull structurizr/lite
> docker run -it --rm -p 8080:8080 -v /path/to/src:/usr/local/structurizr structurizr/lite
To find more refer to Structurizr Documentation
Go to the localhost address