FREE OPEN SOURCE TOOL

Sketch to SAP BTP Diagram

Upload a whiteboard photo or paste a Mermaid diagram. Get an official SAP BTP Solution Diagram in draw.io format — complete with the right service icons, boundary zones, and connector styles.
HOW IT WORKS

From sketch to diagram in four steps

No manual redrawing. No icon hunting. No boundary zone guesswork.

Identify Components

Claude Vision reads your sketch or Mermaid text and extracts every component and connection.

Map to SAP Catalog

Each component is matched against the official SAP BTP service catalog — exact match, alias, or type-based fallback.

Review Architecture

Claude checks your architecture against SAP BTP best practices and flags missing components or anti-patterns.

Generate .drawio

A ready-to-open draw.io file with proper SAP icons, boundary zones, and styled connectors. No adjustments needed.
SEE IT IN ACTION

Sketch in, diagram out

Input — Sketch or Mermaid

Upload a whiteboard photo (PNG, JPEG, WebP) or paste a Mermaid flowchart definition.

Output — Ready draw.io File

Download a .drawio file with official SAP service icons, boundary zones, and connectors — opens directly in diagrams.net.

Preview — Detected SAP Services

See every detected component mapped to its SAP service before downloading the diagram.

Review — Architecture Best Practices

AI-powered review flags missing integration layers, authentication gaps, and SAP BTP anti-patterns.

GET STARTED IN MINUTES

Deploy to your own BTP subaccount

The tool runs entirely on your own SAP BTP subaccount using your own Anthropic API key. Aditheos has zero visibility into your usage, your diagrams, or your API costs. No SaaS, no data leaving your environment.

Step 1 — Clone and install

git clone https://github.com/aditheos/sketch-to-sap-btp-cap.git
npm install

Step 2 — Build and deploy

npm run build
cf deploy sketch-to-sap-btp_*.mtar

Step 3 — Set your API key

cf set-env sketch-to-sap-btp-srv ANTHROPIC_API_KEY sk-ant-...
cf restage sketch-to-sap-btp-srv

BUILT WITH

SAP CAP (Node.js)
Claude Sonnet Vision
Claude Haiku Review
draw.io XML

REQUIREMENTS

SAP BTP subaccount
Cloud Foundry enabled
Anthropic API key
Node.js 20+

COST PER RUN

Sketch → ~$0.016
Mermaid → ~$0.003
Charged to your
Anthropic account

LICENSE

Apache 2.0
Free for commercial use
Self-host on your BTP

OPEN SOURCE

Built for the SAP community

Your data stays yours

Deploy to your own BTP subaccount. Your architecture diagrams never leave your environment. No external SaaS, no data privacy review required.

Community-maintained catalog

The SAP BTP service catalog is community-maintained. As SAP launches new services, contributors submit pull requests — keeping mapping accuracy current without relying on a single vendor.

Apache 2.0 — use it freely

Free for personal and commercial use. Fork it, extend it, build on it. All we ask is that you open issues and PRs when you find something worth improving.

Need custom BTP solutions?

This tool is a small example of what Aditheos builds. If your organisation needs custom SAP BTP architecture, CAP application development, or AI integration work — let us talk.