Wio From Diagram To Code With Amazon Q Developer
MCP server: Wio From Diagram To Code With Amazon Q Developer
Installation
npx wio-from-diagram-to-code-with-amazon-q-developerAsk AI about Wio From Diagram To Code With Amazon Q Developer
Powered by Claude · Grounded in docs
I know everything about Wio From Diagram To Code With Amazon Q Developer. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
From Diagram to Code with Amazon Q Developer
This repo is a list of tutorials related to this blog post:
https://dev.to/welcloud-io/from-diagram-to-code-with-amazon-q-developer-2da4
You can also find some live demos in these videos:
https://www.youtube.com/watch?v=D6cYFDoX1Es&list=PL7uUliWSzuvF0GS9jpaFGQxLKGC0CC2vq https://www.youtube.com/watch?v=QuAlzUVqi7I&t=4293s
This demonstrates how you can generate diagrams from an application code, but also how to generate code from diagrams using Amazon Q Developer in the Visual Studio Code IDE.

Tutorial Index
Prerequisites
I assume that you are using a Linux Ubuntu 22-04 distribution, but instructions below can be adapted to your environment.
1) Install & start VS Code (If not done yet in your environment)
The official procedures to install & start VS Code is there:
https://code.visualstudio.com/docs/setup/linux#_debian-and-ubuntu-based-distributions
N.B.: These simple commands below work for me to intsall & start VS Code on Linux Ubuntu 22-04:
$> sudo snap install --classic code
$> code
2) Clone the repo & go to the tutorial folder
Open a terminal in VS Code and execute the following commands
$> git clone https://github.com/welcloud-io/wio-from-diagram-to-code-with-amazon-q-developer.git
$> cd wio-from-diagram-to-code-with-amazon-q-developer/
3) Configure VS Code (Manually or Automatically)
3.1) Configure VS Code Manually (Option 1)
N.B. You can attempt to configure VS Code automatically if it's a fresh installation (see Option 2)
Install Amazon Q Developer extension & Enable @workspace
Q Developer plugin installation: https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/q-in-IDE-setup.html#setup-vscode
Q Developer setting options to tick: https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/workspace-context.html
Then connect to Amazon Q with your builder ID
Install Mermaid extension
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid
Install Draw.io Integration extension
https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio
Then:
- Go to 'File > Preferences > Settings'
- Search for 'editorasso' setting
- Add the following association item: *.drawio.xml => hediet.vscode-drawio-text)
3.2) Configure VS Code Automatically (Option 2)
Be aware that this may not work if your environment has some settings already
$> ./setup/vs-code.sh
Once done, connect to Amazon Q Developer using your Builder ID (folow the procedure in VS Code)
4) Install CDK (only if you want to deploy the generated code)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
. ~/.bashrc
nvm install --lts
npm install -g aws-cdk
5) Install Q CLI & MCP utils
Amazon Q Developer CLI (Command Line Interface) and MCP utils are used for some tutorials, but not for all.
Install MCP Utils
To test MCP servers tutorials you should install uv & fastmcp. You can use python pip or this script.
$> ./setup/mcp-utils.sh
Install Q CLI
To install Q CLI, you either follow this link:
https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command-line-installing.html
OR you can attempt using this script in you terminal (n.b. it's only been tested on Linux Ubuntu 22-04):
$> ./setup/q-cli.sh
Start tutorials
1. Start Tutorial Window
The command below will open a new VS Code window. That means you will have a blank playground where you will import a tutorial starting point.
# From wio-from-diagram-to-code-with-amazon-q-developer/
$> ./start-vscode-tutorial-window.sh

