Skip to content

Feature: Column-level relationship connections in ER diagrams #4711

Done

Description

@pwislowski

Problem

Currently, relationship lines in the ER diagram connect tables without clearly indicating which specific columns participate in the relationship.

This makes it difficult to understand complex database schemas, particularly when multiple foreign keys exist between the same two tables or when composite keys are involved.

Proposed solution

Connect relationship lines directly to the corresponding foreign key and referenced column rows.

Highlight the participating columns when hovering over or selecting a relationship.

Display the foreign key constraint name and column mapping in a tooltip.

Support composite foreign key relationships.

Optionally allow switching between table-level and column-level connections to reduce visual clutter in large schemas.

Alternatives considered

Column-level connections are particularly useful when exploring unfamiliar databases and constructing complex SQL joins.

Graphviz DOT exports already support column-level connections, as implemented in #2519. Bringing similar functionality to the interactive ER diagram would significantly improve its usability.

Platform

macOS

Related database type

N/A / General

Activity

  1. added
    enhancement
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions