← ClaudeAtlas

btp-diagram-generatorlisted

Generate SAP BTP (Business Technology Platform) solution architecture diagrams as native draw.io (.drawio) files following the official SAP BTP Solution Diagram guidelines (Fiori Horizon design system) and open them via a configured draw.io MCP server. USE WHEN: user asks to create/draw/design/sketch a BTP diagram, BTP architecture, BTP landscape, BTP solution diagram, BTP reference architecture, SAP Business Technology Platform diagram, or wants to visualize SAP BTP services (CAP, Build, Integration Suite, SAC, AI Core, HANA Cloud, Cloud Foundry, Kyma, Workzone, etc.) and their interdependencies in draw.io / drawio / diagrams.net. DO NOT USE FOR: non-BTP architecture diagrams, generic flowcharts, sequence/UML diagrams, or diagrams that should remain in Mermaid/PlantUML.
williamcorrea23/sap-router-skill · ★ 1 · AI & Automation · score 66
Install: claude install-skill williamcorrea23/sap-router-skill
# BTP Solution Diagram Generator Produces a `.drawio` file in the workspace that conforms to the [SAP BTP Solution Diagram guidelines](https://sap.github.io/btp-solution-diagrams/) and opens it through whichever [draw.io MCP server](https://www.drawio.com/doc/faq/ai-drawio-generation) is configured. ## ⚡ Quick Path (use this first) For the vast majority of diagrams, **do not hand-write XML**. Use the `btp_builder` Python package — it owns icon lookup, SAP palette, port pinning, label HTML, A4 sizing, SVG upscaling, and validation. A typical L1 diagram is ~20 lines. ```python # scripts/examples/task_center_arch.py — runnable end-to-end import sys from pathlib import Path # Add the skill's scripts/ dir to sys.path so `btp_builder` imports work # regardless of where the skill is installed (repo, ~/.claude/skills/, etc.) sys.path.insert(0, str(Path(__file__).resolve().parent.parent)) from btp_builder import BtpDiagram d = BtpDiagram(level="L1", title="Task Center Reference Architecture") btp = d.btp_container(x=260, y=80, w=560, h=440) sub = d.subaccount(parent=btp, label="Subaccount", x=btp.x + 24, y=btp.y + 110, w=520, h=170) wz = d.service("work zone", in_=sub, x=sub.x + 60, y=sub.y + 60) tc = d.service("task center", right_of=wz) ci = d.service("cloud identity", below=tc) eu = d.user("End User", x=60, y=btp.y + 100) ac = d.app_client("Application Clients\n(Mobile or Desktop)", below=eu) s4 = d.external("SAP S/4HANA\nOn-Premise Solutions",