PATCH: graphical explain - Mailing list pgadmin-hackers

From Sanket Mehta
Subject PATCH: graphical explain
Date
Msg-id CA+yw=mOxpdmFpuA2PBp3z_0H0=3gMncuy=c8B61oDs+REyjbEQ@mail.gmail.com
Whole thread Raw
Responses Re: PATCH: graphical explain  (Sanket Mehta <sanket.mehta@enterprisedb.com>)
List pgadmin-hackers
Hi,

PFA the patch for graphical explain feature.

It consists of explain.js, __init__.py and demo_explain.html, snap_svg.js and snap_svg-min.js file.

Currently I have placed hard coded JSON data in demo_explain.html file to display graphical output; which will be replace by actual output user get from server in JSON format.

Use below URL to access graphical output:

http://localhost:5050/misc/explain where 5050 is the port your web server is running on

To test the patch, user can replace plan data (stored in 'data' variable) in demo_explain.html with other valid plan data in JSON format and run the above URL.

Please review the patch and provide comments for the same.

TODO: Integration of graphical explain into sql editor


Regards,
Sanket Mehta
Sr Software engineer
Enterprisedb
Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Couple of typo fixes.
Next
From: Harshal Dhumal
Date:
Subject: Dialog issue: General category text is shown as undefined [pgadmin4]