@workspace generate a draw.io diagram in an xml format of this application. I want to use AWS 2024 Icons, lines should be orthogonal, dataflow from up to bottom
You need a folder containing your application code (python, typescript, …) and your Infrastructure as Code templates (e.g. SAM template).
Copy/Paste the generated code into a app.drawio file, preview your markdown file (e.g. using Draw.io Integration extension in VS Code)
Install Prompt
Add this prompt to your Amazon Q CLI prompt library:
1. Download to local prompt library:
mkdir -p .amazonq/cli-prompts && curl -o .amazonq/cli-prompts/generate-drawio-architecture-diagram-from-code.md https://promptz.dev/prompts/architecture/generate-drawio-architecture-diagram-from-code/2. Use with Q CLI:
q prompts use generate-drawio-architecture-diagram-from-code