Граф коммитов

149 Коммитов

Автор SHA1 Сообщение Дата
Aasim Khan 2934e2457f
Adding an extra cell to the bottom right corner for padding in the graph (#48)
* Fixing tooltips stylings on edges

* changing test container to fixed dimension for testing different scenarios

* removing unused code and spacing

* Fixing formatting

* Fixing spacing

* Adding some const

* Fixing max x and max y to work on single node graphs
2022-03-30 11:03:16 -07:00
Lewis Sanchez b73772c96b
Updates package version to 0.0.16 (#46) 2022-02-17 15:32:48 -08:00
Lewis Sanchez 0bcaf3c004
Prevents cost information from appearing in the tooltip header (#45)
* Prevents cost information from appearing in the tooltip header

* Variable rename

* Uses new tooltip title property to give vertex tooltips their heading
2022-02-17 15:27:01 -08:00
Lewis Sanchez cba8fc2ff1
Fix Long Graph Cell Labels (#44)
* Truncates long graph cell labels

* Truncates long cell labels

* Improves new line logic by checking the platform

* Code clean up.

* Clean up

* Code clean up for EOL.

* Removes debugger statement.

* Cleans up forEach callback arguments
2022-02-17 13:21:59 -08:00
Lewis Sanchez f50bc2eb50
Version bump to 0.0.15 (#42) 2022-02-14 16:37:27 -08:00
Lewis Sanchez 50dcabf9ab
Corrects up arrow key selection logic (#41) 2022-02-14 16:25:12 -08:00
Lewis Sanchez cd557a840c
Select Graph Cells with Keyboard (#40)
* Selects graph cells using arrow keys, but little control over cells

* Removes debugger statements.

* Improves left and right graph traversal, top and bottom don't work yet.

* Implements arrow key graph traversal

* Method rename for top and bottom.

* Up and down works for vertices now.

* Generalizes and improves up and down arrow key logic.
2022-02-14 15:48:55 -08:00
Aasim Khan f3f44e1068
Fixing long stings in tooltips (#38)
* Fixing longs stings in tooltips

* vbumping as well
2022-02-09 10:53:07 -08:00
Aasim Khan b3bb744a78
Adding support for tooltip description (#37) 2022-02-08 19:45:44 -08:00
Aasim Khan 6fc0c79df7
Fixing graph styling (#35) 2022-02-08 19:11:06 -08:00
Karl Burtram fe62ef7c8c
Bump to 0.0.11 (#34) 2022-02-08 16:04:52 -08:00
Karl Burtram 4b13969344
Change JS import to require flag (#33) 2022-02-08 16:03:37 -08:00
Aasim Khan 3497ac50eb Vbumping 0.0.10 2022-02-04 16:36:22 -08:00
Aasim Khan f2d47a0ab0
Revert "vbumping package to 0.0.10 (#30)" (#31)
This reverts commit fea15210dd.
2022-02-04 16:34:57 -08:00
Aasim Khan fea15210dd
vbumping package to 0.0.10 (#30) 2022-02-04 16:34:04 -08:00
Aasim Khan cb6ca5c8b0
Adding cell ids to mxgraph cells. (#29) 2022-02-04 16:29:51 -08:00
Aasim Khan 20b2b172b4
updating version to 0.0.9 (#27) 2022-02-01 15:38:28 -08:00
Aasim Khan 9a17fc658a
Removing any container styling code from graph lib (#26) 2022-02-01 15:31:09 -08:00
Lewis Sanchez be526b2b9b
Bump version to 0.0.8 (#24) 2022-02-01 15:00:36 -08:00
Aasim Khan 6b2121c77d
Adding a fix for images not loading when using vscode-file urls (#22)
* Adding a fix for images not loading when using vscode-file urls

* Fixing formatting
2022-02-01 14:51:03 -08:00
Charles Gagnon 6baca5e644
Correct author field (#23) 2022-02-01 14:42:34 -08:00
Lewis Sanchez 8b8c9bf593
Corrects package JSON URLs for homepage, repository, and bugs. (#21) 2022-02-01 14:07:39 -08:00
Lewis Sanchez f862b4a563
Version bump to 0.0.7 (#19) 2022-02-01 13:30:10 -08:00
Lewis Sanchez 8bbfc33f0c
Graph Zoom to Fit and Custom Zooming (#12)
* Adds zoom to fit functionality

* Cleans up graph zooming logic

* Exposes zoom level and allows for custom zooming

* Adds missing semicolons

* Corrects function formatting

* Enables zoom click incorrectly

* Enables graph rectangular zooming

* Removes upper zoom limit and enables panning by default
2022-02-01 13:23:31 -08:00
Lewis Sanchez e45d256130
Reveals hooks to change query plan colors (#18) 2022-02-01 13:11:55 -08:00
Lewis Sanchez 381a927f58
Dynamically sets tooltip width for edges (#17) 2022-01-31 15:19:16 -08:00
Aasim Khan fcf23fae4b
Adding ssms like graph layout (#13)
* Initial push of the layout

* Adding more complex graph
Making names more js styled

* Tweaking points

* removing elbow connectors

* Fixing function call

* Adding missing semi colons

* Fixing a lot of typos

* Fixing cases and using globals

* missing semicolons

* code cleanup

* Updating graph

* update graph

* Fixing tests

* Adding copyright
2022-01-31 14:56:30 -08:00
Lewis Sanchez 537de79749
Corrects formatting (#16) 2022-01-31 14:48:35 -08:00
Lewis Sanchez 498b0743d6
Squares graph edges (#11) 2022-01-31 14:40:21 -08:00
Aasim Khan 27487cd060
Populating edges from data (#14)
* Now populating edges from data

* removing old console prints
2022-01-30 17:19:00 -08:00
Aasim Khan f271f347e5
Disabling auto extend of graph when dragging (#15)
* Now populating edges from data

* disabling auto extend

* removing old console
2022-01-30 17:14:06 -08:00
Lewis Sanchez a2856a66cd
Generalizes Graph Event Listener (#10)
* Improves graph event listener

* Renames callback

* Prevents error when a callback isn't provided.
2022-01-28 12:04:50 -08:00
Lewis Sanchez 146bd75cef
azdataGraph boilerplate clean up. (#9)
* Cleans up icon path boilerplate code.

* Cleans up JSON graph boilerplate

* Formats queryPlanSetup.js
2022-01-28 10:22:22 -08:00
Lewis Sanchez 1c3a6ffdc5
Adds zooming Functionality to azdataGraph (#8)
* Adds zooming functionality to graph

* renames zoom out and zoom in button click handler

* Minor code clean up

* Removes embedded zoom buttons, adds zoom listeners, and adds test file

* Generalizes zoom listener, so zooming can be triggered by any action
2022-01-27 16:31:33 -08:00
Lewis Sanchez d9ebbd5b68
Graph Vertex and Edge Click Listener (#5)
* Adds graph click event listener for edges and vertices

* Removes unnecessary line.

* Code clean up

* Corrects inconsistent naming
2022-01-26 13:52:09 -08:00
Lewis Sanchez 00c185ac2d
Version bump to 0.0.6 (#6) 2022-01-26 12:55:56 -08:00
Lewis Sanchez 602f1c8350
Updates tooltip appearance for vertices (#4)
* Updates tooltip appearance for vertices.

* const rename
2022-01-21 17:51:34 -08:00
Lewis Sanchez a6067a2b4d
Adds tooltips to graph edges and styles them (#3)
* Adds tool tips to edges

* Adds bold weight to left side tool tip text

* Adds horizontal ruling with correct margins

* Justifies tool tip text correctly.

* Sets tool tip width

* Adds styles and formats tool tip data.

* Adds missing new line to end of file.

* Minor cleanup/renames constant variables

* Adds weighted edges to graph.
2022-01-20 10:07:04 -08:00
Lewis Sanchez afd43d81f7
Corrects graph arrow directions. (#2)
* Inverts graph edge directions

* Defines default arrow style for any created edge

* Adds new method to add inverted edge to graph

* Defines azDataGraph object that is a subclass of mxGraph

* Adds missing newline

* Creates parallel structure under azdata folder for views
2022-01-11 16:06:31 -08:00
Karl Burtram e104c8ed54
Merge pull request #1 from microsoft/feat/simpleTest
Fix simple test file
2022-01-05 16:13:01 -08:00
Karl Burtram ee7c4b8649 Fix simple test file 2022-01-05 16:09:55 -08:00
Karl Burtram f817d9f647 Bump to 0.0.5 2022-01-05 13:42:03 -08:00
Karl Burtram 18e5696711 Initial check-in 2022-01-05 10:15:39 -08:00
Microsoft Open Source 6023f92d01 SUPPORT.md committed 2022-01-05 10:10:12 -08:00
Microsoft Open Source bee7a887e8 SECURITY.md committed 2022-01-05 10:10:11 -08:00
Microsoft Open Source 3659c449de README.md committed 2022-01-05 10:10:10 -08:00
Microsoft Open Source e3478e4410 LICENSE committed 2022-01-05 10:10:10 -08:00
Microsoft Open Source 6b1ad0c906 CODE_OF_CONDUCT.md committed 2022-01-05 10:10:09 -08:00
microsoft-github-operations[bot] b41f8db00c
Initial commit 2022-01-05 18:10:04 +00:00