-
- Downloads
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
Showing
- cypress/integration/frontend-testing.js 1 addition, 1 deletioncypress/integration/frontend-testing.js
- lib/cfg.js 1 addition, 1 deletionlib/cfg.js
- package-lock.json 18 additions, 132 deletionspackage-lock.json
- package.json 1 addition, 1 deletionpackage.json
- static/components.interfaces.ts 6 additions, 4 deletionsstatic/components.interfaces.ts
- static/components.ts 2 additions, 0 deletionsstatic/components.ts
- static/graph-layout-core.ts 951 additions, 0 deletionsstatic/graph-layout-core.ts
- static/noscript.scss 0 additions, 1 deletionstatic/noscript.scss
- static/panes/cfg-view.interfaces.ts 11 additions, 3 deletionsstatic/panes/cfg-view.interfaces.ts
- static/panes/cfg-view.ts 273 additions, 368 deletionsstatic/panes/cfg-view.ts
- static/panes/compiler.ts 0 additions, 1 deletionstatic/panes/compiler.ts
- static/styles/explorer.scss 36 additions, 6 deletionsstatic/styles/explorer.scss
- static/styles/themes/dark-theme.scss 9 additions, 2 deletionsstatic/styles/themes/dark-theme.scss
- static/styles/themes/default-theme.scss 10 additions, 2 deletionsstatic/styles/themes/default-theme.scss
- test/cfg-cases/cfg-gcc.if-else.json 1 addition, 1 deletiontest/cfg-cases/cfg-gcc.if-else.json
- test/cfg-cases/cfg-gcc.loop.json 1 addition, 1 deletiontest/cfg-cases/cfg-gcc.loop.json
- test/cfg-cases/cfg-gcc.single-block.json 1 addition, 1 deletiontest/cfg-cases/cfg-gcc.single-block.json
- types/compilation/cfg.interfaces.ts 56 additions, 0 deletionstypes/compilation/cfg.interfaces.ts
- views/templates/panes/cfg.pug 6 additions, 11 deletionsviews/templates/panes/cfg.pug
- views/templates/panes/compiler.pug 1 addition, 1 deletionviews/templates/panes/compiler.pug
Loading
Please register or sign in to comment