Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Control flow graph tool rework (#3899)
* Removed old code * Base functionality * Work on edge offsets * Setup interval trees for edges * linter things * Formatting * Added syntax highlighting * Cleanup and simplification. Improved handling of direct dropdown edges. * Basic zoom/pan * Remove old blocks from output * Fix distance calculation * Added function selector * Improved zoom behavior * figue 8 logic * Canvas scaling / repainting, updated colors * Don't truncate output, also removed some console.logs * Tweak to zoom system * Replaced canvas stuff with svg * Experimenting with adding shadows to edges * Removed shadows, was causing problems. Improved how blocks with lots of incident edges are handled. * Slightly improved edge system * some work on implementing segment priority system from cutter * Optimization to rendering process. I was worried the graph layout algorithm was causing the page to hang but it turns out it was adding elements to the page with += * Removed need for storing the previous segment * refactor, splitting up some logic * Cleaned up logic and got horizontal edges working better * Remove vis-network dependency * Updated package-lock, removed @import vis-network css stuff, added a todo for myself * Cleaned up notes and error messages. Added comments. Clear the pane if there's no function to display * Added layout time information, implemented .resize * Light theme * State work and bug fix for dragiing * Re-dading lost dark theme changes * Added jquery import * Cleaned up console.logs * Added basic block count * Incorporated PR review comments; Fixed cypress (hopefully), added documentation, improved the dropdown, and fixed dropdown items not being cleared with an empty result.cfg * Ran format
- Loading branch information
1 parent
ab98ce9
commit 1294c3f
Showing
20 changed files
with
1,385 additions
and
537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.