Skip to content

funktechno/sqltooling-drawio

Repository files navigation

sqltooling-drawio

  • 3rd party plugins for sql tooling in drawio
  • contributions welcome

Getting Started

  • see https://github.com/ariel-bentu/tam-drawio for multiple install options
  • download plugin file
    • sql.js - import/export SQL DLLS
    • nosql.js - import/export openapi jsons
      • or nosql.min.js
      • you can then use the openapi.json spec to generate classes/interfaces in the language of your choosing
    • nosql-ts.js - import/export typescript interfaces and openapi jsons (NOT vscode compatible)
    • or clone project git clone --branch main git@github.com:funktechno/sqltooling-drawio.git and check dist folder
  • vscode Draw.io Integration
    • settings.json
    "hediet.vscode-drawio.plugins": [
    {
      "file": "xxx\\sqltooling-drawio\\dist\\sql.js"
    },
    {
      "file": "xxx\\sqltooling-drawio\\dist\\nosql.js"
    },

Examples

  • menu_from_sql
  • menu_from_sql

Development

  • npm install
  • npm build:client to update dist/sql.js
  • npm build:client:nosql to update dist/nosql.js