This Python application leverages the diagrams
library to generate architecture diagrams programmatically. It's designed to help developers and architects visualize cloud infrastructure and system architectures directly from code, making documentation more dynamic and maintainable.
- Generate architecture diagrams as images without the complexities of prerequisites of
diagrams
package based on different operating systems. - Easy to extend and integrate with CI/CD pipelines for automatic documentation updates.
- Docker
- Docker Compose (optional)
-
Clone this repository:
git clone https://github.com/mii9000/diagram-generator.git
-
Navigate to the project directory:
cd diagram-generator
-
To run the application do one of the following:
chmod +x run.sh ./run.sh
OR
docker-compose up --build -d
Ensure you're in the project's root directory. The generated diagrams will be saved to the ./output
directory.
To customize the diagrams, edit the index.py
file and adjust the diagram components and connections as needed. Refer to the Diagrams documentation for more details on supported nodes and attributes.
Contributions are welcome! Please feel free to submit a pull request with your improvements or new features.
This project is licensed under the MIT License.