btp-diagram-generatorlisted
Install: claude install-skill williamcorrea23/sap-router-skill
# SAP BTP Diagram Generator
Generate BTP architecture diagrams from structured specifications.
## Mermaid Output
```mermaid
graph TD
subgraph "SAP BTP - DEV Subaccount"
CAP[CAP Application] --> HANA[(HANA Cloud)]
CAP --> XSUAA{XSUAA Auth}
CAP --> DEST[Destination Service]
FIO[Fiori Elements] --> CAP
end
DEST --> CC[Cloud Connector]
CC --> S4[(S/4HANA On-Premise)]
XSUAA --> IAS[Identity Authentication]
```
## PlantUML Output
```plantuml
@startuml
!include <C4/C4_Container>
Person(user, "Business User")
System_Boundary(btp, "SAP BTP") {
Container(cap, "CAP Service", "Node.js", "Business logic")
ContainerDb(hana, "HANA Cloud", "HDI", "Persistence")
Container(fiori, "Fiori Elements", "SAPUI5", "UI")
}
System_Ext(s4, "S/4HANA", "On-Premise")
Rel(user, fiori, "Uses", "HTTPS")
Rel(fiori, cap, "OData V4", "JSON")
Rel(cap, hana, "SQL", "HDI")
Rel(cap, s4, "OData", "Principal Propagation")
@enduml
```
## JSON Specification
```json
{
"solution": "Procurement Hub",
"subaccount": "DEV",
"nodes": [
{ "id": "cap", "type": "application", "runtime": "Node.js CAP",
"name": "procurement-srv" },
{ "id": "hana", "type": "database", "service": "hana-cloud",
"name": "Procurement HDI" },
{ "id": "s4", "type": "external", "system": "S/4HANA",
"connection": "Cloud Connector" }
],
"connections": [
{ "from": "cap", "to": "hana", "protocol": "SQL", "binding": true },
{ "from": "cap", "to": "s4", "protocol": "OData V2",