PATCH: graphical explain

From: Sanket Mehta <sanket(dot)mehta(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: PATCH: graphical explain
Date: 2016-04-11 16:34:27
Message-ID: CA+yw=mOxpdmFpuA2PBp3z_0H0=3gMncuy=c8B61oDs+REyjbEQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 <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 Content-Type Size
graphics_explainv1.patch text/x-patch 553.7 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Harshal Dhumal 2016-04-12 09:54:11 Dialog issue: General category text is shown as undefined [pgadmin4]
Previous Message Dave Page 2016-04-11 14:41:45 pgAdmin 4 commit: Couple of typo fixes.