Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added a minimal example for creating UI Extensions so future students have an easier start * Init proxy-view * Added action to send model + context to whoever needs it; got it to work so far using a symbol for ProxyViewUI * Added some comments * added notes still TODO * Renamed ProxyViewUI to ProxyView for consistency * . * Fixed watch, remember to revert for final merge * Some more notes * Removed deprecated and explore proxy options * Made the overlay seemingly work * Refactored code and added renderProxy() * Fixed stackoverflow * Some logic + exploring nodes. TODO: depthmap affects clone * Added TODOs and got the depthmap to mostly work * Added click-through potential and fixed when proxies are rendered * Created Cool Coordinate Calculation * Handled non-explicitly specified regions * Fixed renderingDefs getting lost * Implemented caching rendered nodes * Implemented caching for coordinates and vnodes, latter still TODO * Prevented proxies from being rendered behind the sidebar * Refactored code * Some code to change proxy size, still TODO * Added id method * Small fixes because of merge * Lots of refactoring, isConnected() filter, mostly fixed renderings cache * Started using the panel and added category functionality to renderingOptions * Just some comments * Made ProxyViewCategory a singleton * Added more sidebar stuff and proxy size calculations TODO * Fixed size calculation * Started working on clustering + refactored code * Continued working on clustering * Upgraded clustering to use groups of indices * Implemented capping to parent node * Simplification * Added clustering, some TODOs and an option to enable cascading clustering * Added getClusterRendering() method * Updated clustering, cannot test because quota is reached * Some clustering fixes, outsourced vnode transform updates, added a new option * Added weights for clustering clusters + outsourced cascading clustering * Updated cluster rendering + added a property to the API * Added a debug mode * Minor changes and some TODOs * Refactored code for code review * Code review mka * Started implementing sweep line for clustering * checkOverlap() mka feedback * Code review nre * Added a jsx cluster rendering * Fixed a bug concerning cluster IDs + outsourced anyContains() * Put debug options into their own category * Started implementing a distance filter * Finished calculations for isInRange() * Allowed RenderOptions to be choice options and added choices for filterDistant * Added code to highlight proxies connected to the selected node * Prepared the declaration of independence * Signed the declaration of independence * nre code review * Added a much needed method + refactoring * Synthesis proxy-renderings now work + options + UpdateModel should work * Cleaned up * Added k-meeting notes * Added a connected to selected filter * Added getNodeByID() and started fixing selected nodes * Implemented a SelectUtil and fixed selection filtering/highlighting * Minor method outsourcing * Implemented stacking order and started working on opacity by distance * Implemented opacity by selected, fixed some bugs and found new ones :) * Fixed SelectedElementsUtil bugs and added an option to allow transparent clusters * Added notes * Generalized getElementByID() and SelectUtil + implemented mouse interactions * Lots of stuff + still fixing an annoying bug * Added a TODO * Small test * Verified ids cause the bug, still have to find the reason for duplicate ids * Fixed cluster positioning + decorator placement, still no fix for edge proxy errors yet * Workaround for edge id bug * Implemented a detail level option * Slight refactoring, next up: outsourcing generic functions + filter API * Outsourced stuff to util + some reworks * Handled RenderingRefs in decorator placement + started angle * Fixed id bug, edges where drawn between proxies * Started working on the filter API. Bug: this is undefined * Improved the filter API * Fixed arrow head angle + new stacking order criteria * Comments * Implemented zooming out if necessary on click * Generalization + double click tests * It wasn't * Proxies are no longer influenced by smart zoom * Removed unnecessary multiplication * Implemented title scaling for proxies * Removed redundant title scaling * Notes * mka code review * Fixed proxy title scaling * Forgot to push implementation of transparent edges + moved cap to parent to debug * mka transparent clusters documentation * minor note * Started working on along-edge-routing * Along-edge-routing, still TODO * Some more work on along-edge-routing * Identified bugs, have to be fixed later * Implemented capToCanvas() with offset, still working on along-edge * Fixed order * Along-edge-routing now works for the first point * Potentially finished along-edge-routing, need a good example + code could use some clean up * Temp commit * Fixed some along-border stuff + started working on original edge fade out * add filter evaluation logic * update filtering interface * or connective now correctly evaluates using || * fix type checking so that cases are evaluated correctly * Adjusted overlay edge scale + hierarchical depth API * add documentation for filters * Fixed overlay positioning, changing color still TODO * Started with connecting off-screen edges * Connector proxies hopefully mostly done * Added some notes for later * Could potentially swap frame of reference, simplifying some stuff * Commit before removing useless stuff in case it's not useless * Added TODO notes * Started using translated canvas + fixed dire typo in distance calculation * Tried around a bit with getTransform(), non-translated canvas may be better because of sidebar * Brought order to all that translation stuff * Temp commit to not lose code, will be deleted soon * Election pledges were kept * Finished connector edges * Temp commit to save getIntersection() offset * Undid temp commit * Fixed linter stuff * Added support for semantic filters * Actually undid the temp commit * Implemented unregistering in sidebar + proxy-view filters * Temp commit for keeping previous option value * Undid temp commit * Added connectives * Added numeric connectives to semantic filtering. Should mostly work * Fixed documentation * Added some notes on three-valued logic struggles * Overlay precedence + offset relative to canvas * Convenient canvas constructor * Added some TODOs * Outsourced along border routing and added to connectors * Improved along-border-routing by traversing the original path as much as possible * This should have been part of previous commit * Consistent connector offset * Removed redundant names * Code review and default values for semantic filtering * semantic filtering specifics * Temp commit for an animation using scaling. Opacity animations may work better * First easy opacity animation. Still has problems * add true, false and id connectives * remove empty interface * make num not optional * put evaluation logic into separate namespaces * fix missing returns * add >=, <=, != numeric connectives * add numeric connectives * rename numeric connectives * Added the option to show proxies early * Moved inline-comments to previous line (thx to mka & jpe) * Small documentation clarification * Temp commit for TODOs * fix evaluate numeric for tags * make numeric to bool connectives binary * add numeric constant * change let to const * Added proxy scaling by original node + simple along-border-routing suggested by mka * New filter * Implemented immediately showing a proxy (potential future work) * Cleanup * Finalized the sidebar * Add debug option for disabling caches * Hacky debug option for exporting diagram + proxy-view in current zoom + scroll * Revert "Hacky debug option for exporting diagram + proxy-view in current zoom + scroll" This reverts commit 9bb79d2. * Slight adjustment to capNumber() * Option default fixes + documentation * Documentation * Documentation + simplification * Rename render for clarification * Fixed kpolygon colors * Cleanup for PR * Changes for sprotty 12. * more changes for Sprotty 0.12 * proxy-view: updated some filtering/options * add type narrowing methods * remove filter from filter names * renaming and typos * reorder class fields and methods * refactor names for clarity * cap proxies to edge of sidebar if it is locked open * refactor function * typo * update opacity calculation * update method docs * tidy up docstrings * newline at end of file * renaming for clarity * revert packagae json * add missing method docs * update remaining references to LRF to use GRF instead * make interactible proxies debug option * build: fixed the watch command * some documentation and hide private API * use method isContainerRendering * add explanation to CRF and GRF * feature: render options may now be debug options, which can be enabled via command pallette in VS Code / manual cache modification in CLI and turned of by turning off the corresponding debug option. * changed proxy edges to have the same scaling as they would have in the usual rendering. * embrace and document the hacky proxy decorator solution. * simplified and improved selection bookkeeping for proxies. * removed magic string * negated inside proxy filter for routing points * replaced some unicode characters * clean up mouse, hover, and action handling for proxies and some miscellaneous. Proxies now support hover feedback and actions defined on them. * correct docstring * rename proxy-view category display string * makes synthesis defined filters visible again and fixes an error in the filter evaluation * clarify titles of filters * resolve errors * Move settings to debug category Set sensible defaults for proxy view and hide certain settings as debug options. * Make checkboxes positive action Checkboxes for the structural proxy filters now signify that certain proxies are enabled rather than hidden when the checkbox is ticked. * Invert interpretation of semantic filters * further prettier fixes * fixed the dispatchAction command * shifted more options to debug --------- Co-authored-by: stu215592 <[email protected]> Co-authored-by: Max Kasperowski <[email protected]> Co-authored-by: Niklas Rentz <[email protected]> Co-authored-by: Soeren Domroes <[email protected]> Co-authored-by: Max Kasperowski <[email protected]>
- Loading branch information