Visualization for SAP CAP SFLIGHT model using CDS Graphical Modeler
In this blog post, we will demonstrate how to visualize the CAP models defined in SAP CAP SFLIGHT app.
Visualization for CAP SFLIGHT CDS Models
SAP CAP SFLIGHT app is defined in SAP CAP SFLIGHT app, and in this blog post we’ll use CDS Graphical Modeler to visualize its CDS models.
Clone the sflight app from the github repository, and then open db/schema.cds using VSCODE:
Right click schema.cds in VSCODE file explorer and select “Open With…” context menu item:
In the VSCODE command popup select “CDS Graphical Modeler” to open this CDS file:
and the CDS model defined in db/schema.cds is visualized in CDS Graphical Modeler:
and you can do the same for srv/travel-service.cds:
As a summary, in this blog post we demonstrate how to visualize CDS data model and service model using CDS Graphical Modeler for SAP CAP SFLIGHT app. And you can install CDS Graphical Modeler for VSCODE in VSCODE marketplace atCDS Graphical Modeler for VSCODE.