You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Third-party plugins for SQL tooling in Draw.io. Contributions are welcome!
4
+
5
+
## Overview
6
+
7
+
This project provides plugins that extend Draw.io with SQL and NoSQL capabilities, allowing you to:
8
+
- Import/export SQL DDLs
9
+
- Import/export OpenAPI JSONs
10
+
- Generate TypeScript interfaces
11
+
- Work with various database schemas
12
+
13
+
## Download
14
+
15
+
### Option 1: Direct Download
16
+
17
+
Download the plugin files directly from the [releases page](https://github.com/funktechno/sqltooling-drawio/releases) or use the direct links below:
-**Option B (Download ZIP)**: Download from [dev.zip](https://github.com/jgraph/drawio-desktop/archive/refs/heads/dev.zip) and unzip
68
+
- ⚠️ **Note**: Don't download precompiled from Releases as you can't modify the plugins
69
+
70
+
2.**Install Dependencies**
71
+
- Open command line (PowerShell, Command Prompt, Bash, Terminal)
72
+
- Navigate to the drawio-desktop folder: `cd <path>/drawio-desktop`
73
+
- Run: `npm install`
74
+
75
+
3.**Update SQL Plugin**
76
+
- Update `drawio/src/main/webapp/plugins/sql.js` with changes from [this branch](https://raw.githubusercontent.com/funktechno/sqltooling-drawio/main/dist/sql.js)
77
+
78
+
4.**Run Application**
79
+
- Execute: `npm start`
80
+
81
+
5.**Add Plugin**
82
+
- In the running application, go to **Extras** → **Plugins** → **Add**
83
+
- Select `sql` plugin
84
+
- Close application and reopen
85
+
- Plugin is now installed and ready to use
86
+
87
+
## Features
88
+
89
+
### SQL Plugin (`sql.js`)
90
+
- Import SQL DDLs into Draw.io diagrams
91
+
- Export diagrams as SQL DDLs
92
+
- Database schema visualization
93
+
94
+
### NoSQL Plugin (`nosql.js`)
95
+
- Import/export OpenAPI JSON specifications
96
+
- Generate classes/interfaces in your preferred language using OpenAPI specs
0 commit comments