Early-stage SQL visualization library for generating data flow diagrams from SQL queries. Current stable version 0.1.4, released August 2024, with monthly or slower cadence. Supports multiple output formats (Mermaid, ASCII, GraphViz DOT, JSON), schema inference, and column-level tracking. Differentiates via detailed flow diagrams rather than simple AST trees, works as CLI and library with browser compatibility.
npm install sqloflowNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parses a SQL file, converts to DOT format, and renders the diagram string using sqloflow library.
Use parsed.ast instead of parsed directly when passing to convert().
Use format 'dot' or 'json' for reliable output, or check Mermaid version compatibility.
Use npx sqloflow to avoid path issues.
Use explicit column lists in SQL for best results.
Ensure your SQL dialect is one of the supported ones; for others, parse may fail or produce incorrect output.
Install package with 'npm install sqloflow' and use ESM import syntax.
Change to 'import { parse } from "sqloflow"' and ensure project uses ESM (e.g., type: module in package.json).Use a supported dialect: postgresql, mysql, sqlite, mariadb, or transactsql.