pgadmin-org / pgadmin-org/pgadmin4

ERD tool picture export garbled

Open
#10,118 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

Connection and Table representations seem to live in different coordinate systems — this makes the "download image" function unusable.

To Reproduce

Steps to reproduce the behavior:

  1. Install pgAdmin4 9.16 (I've got a docker installation).
  2. Load my attached pgerd file.
  3. Download the image.
  4. Enjoy a look at it ;-)

Expected behavior

The downloaded image should have a coherent appearance like the display on the screen.

downloaded image

Image

source pgerd file

schema-dj-20260622.pgerd.json

I had to rename this file for github to accept it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by loading the attached schema-dj-20260622.pgerd.json file in pgAdmin's ERD tool and compare the on-screen diagram with its downloaded image. Trace the export path from the ERD display and verify the fix by reproducing the export; done means the downloaded image has the same coherent layout as the screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, python
Domain
databases, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.