{"version":"1.0","type":"rich","title":"Finding circular dependencies in your SQLAlchemy data scheme","description":"This visualization identifies circular dependencies in SQLAlchemy database schemas by traversing foreign-key relationships between tables. It uses the `metadata.sorted_tables` object to extract table names and their referenced tables via `foreign_key_constraints`, building a dependency graph as a `defaultdict` of sets. A recursive graph-walking function then detects cycles, printing each circular path as a string of table names joined by arrows. The example relies on Python’s standard library and SQLAlchemy’s metadata API, with no external visualization library; output is textual, showing dependency chains directly in the console.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-dea76a0cc7c56c705d74?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}