* feat: use serverside rendering for integration tests
* chore: extend svg & webgl matchers for jest
* chore: interactive events can be triggerred in test case now
* chore: increase timeout
* chore: skip WebGL snapshot for now
* chore: support animation snapshot in test case
* chore: DOM API can be used in test case
* fix: make graph.getItemById private
* feat: v5-plugin-tooltip
* test: add tooltip test demo
* test: add unit test
* fix: clear the old tooltip before showing a new one
* feat: add loading content
* fix:promise throttle
* fix: delay hiding tooltip
* feat: add placement configuration, like "right", "left", "top", "topRight", etc.
* fix: remove ts-nocheck
* feat: contextmenu v4 to v5
* fix: move the coordinate calculation before the asynchronous function, to avoid the menu located in wrong position
* test: add unit test
* fix: fix the position error
* fix: decrease server pressure caused by fetching many times
* feat: add loading content
* feat: add liHoverStyle config
* chore: remove todo tag
* fix: modify css before resolve getContent
* fix:promise throttle.
* chore: update dependencies
* update jest.config.js for using `@kayahr/jest-electron-runner`
* update rollup.config.js for using `@rollup/plugin-terser`
* chore: add line-edge integration test
* chore: done feat/cubic-edge
chore: add integration test
chore: add unit test(but there have several tests TODO )
* feat: v5-cubic-horizon-edge
*feat: v5-cubic-horizon-edge
*chore: test/unit/v5-cubic-horizon-edge
*chore: test/integration/v5-cubic-horizon-edge
* feat: v5-cubic-horizon-edge
*feat: v5-cubic-horizon-edge
*chore: test/unit/v5-cubic-horizon-edge
*chore: test/integration/v5-cubic-horizon-edge
fix: curve bug
* chore: lint fix & use English comments
* chore: change test svg link & fix cubic offset
*chore: change test svg link
*fix: fix the cubic offset
* chore: fix rebase issue
* Feat: add 'topRight' position configuration in BadgesShapes (#4624)
* fix: support position config:'topRight'
* add demo to reproduce bug
* chore: fix rebase conflict
* V5 fix label shape error (#4645)
* update: update demo for bug reproduce
* fix: fix the bug
* v5-rect#1 (#4640)
* feat: add RectNode
* add: add rect test demo
* add: add rect test demo
* update: update RectNode with less override
* update: remove 'console.log'
* update: remove comment
* update: remove cn comment
* add: add rect-spec.ts for unit test
---------
Co-authored-by: Yanyan Wang <yanyanwang93@gmail.com>
* fix: implement onZoom as empty function for 3d node (#4647)
* fix: implement onZoom as empty function for 3d node
* chore: refine
* chore: lint
* add: make the error message more readable (#4666)
* feat: add contextmenu event for graph canvas, node, and edge (#4675)
* feat: v5-quadratic (#4656)
* add: add a test demo
* feat: add quadratic
* add: add unit test demo
* fix: add seItemState(selected、active、highlight、inactive、disable) test into spec.
* chore: fix rebase conflicts
* chore: done feat/cubic-edge
chore: add integration test
chore: add unit test(but there have several tests TODO )
* feat: v5-cubic-horizon-edge
*feat: v5-cubic-horizon-edge
*chore: test/unit/v5-cubic-horizon-edge
*chore: test/integration/v5-cubic-horizon-edge
* feat: v5-cubic-horizon-edge
*feat: v5-cubic-horizon-edge
*chore: test/unit/v5-cubic-horizon-edge
*chore: test/integration/v5-cubic-horizon-edge
fix: curve bug
* chore: lint fix & use English comments
* chore: trim up code format
*chore: use relative import path
*chore: delete unused imports
*fix: fix the rebase imports
* chore: fix base.ts
* chore: fix rebase conflicts
* chore: elint fix format
---------
Co-authored-by: MaLaiXiGua <55946653+zqqcee@users.noreply.github.com>
Co-authored-by: MaLaiXiGua <941107676@qq.com>
Co-authored-by: Yanyan Wang <yanyanwang93@gmail.com>
Co-authored-by: MaLaiXiGua <zqqcee@163.com>
* add: add a test demo
* feat: add quadratic
* add: add unit test demo
* fix: add seItemState(selected、active、highlight、inactive、disable) test into spec.
* feat: add RectNode
* add: add rect test demo
* add: add rect test demo
* update: update RectNode with less override
* update: remove 'console.log'
* update: remove comment
* update: remove cn comment
* add: add rect-spec.ts for unit test
---------
Co-authored-by: Yanyan Wang <yanyanwang93@gmail.com>
* perf: performance test
* fix: use latest g-webgl to enhance performance
* chore: lint
* fix: save zoom ratio on item controller
---------
Co-authored-by: yuqi.pyq <yuqi.pyq@antgroup.com>
* feat: 3d item rendering
* test: large number for 3d rendering
* fix: share geometry & material between meshes
* feat: rotate-canvas and zoom-canvas for 3d
* perf: types for 3d item
* chore: types
* feat: tracking-canvas-3d behavivor
* fix: rotate canvas 3d behavior export
* chore: type refine
---------
Co-authored-by: yuqi.pyq <yuqi.pyq@antgroup.com>
* feat: support translate & zoom with camera #4344
* feat: support fitCenter & focusItem with Camera API #4344
* feat: support fitView #4344
* feat: support focusing multi-items & stop transition of current transform #4348
* feat: theme module
* chore: add test for theme
* chore: move default themes into stdlibs and refine the theme to be same as v4
* chore: rebase v5 with item module
* feat: subject theme solver
* chore: typo
* feat: support transition on layouts without iterations #4339
* feat: use immediately invoked layout as a shortcut #4339
* feat: handle scenario when layout is unset in spec
* fix: disable css parsing for better performance
* feat: unified datachange from changeData, addData, updateData, and removeData; feat: item definition and first drawing
* feat: update canvas while addData; feat: update canvas while updateData (node); chore: unified additems, removeitems, updateitems to be itemchange hook
* feat: init layout controller
* feat: node and edge updating and drawing
* chore: neaten
* feat: draw and update labels for node and edge
* feat: icon for edge; feat: custom node and edge and register to lib
* feat: init layout controller
* fix: use latest g-webgl
* feat: layout controller should support & option
* fix: registry typo & add custom layout test case
* feat: state related API for graph and item
* chore: update notes
---------
Co-authored-by: Yanyan-Wang <yanyanwang93@gmail.com>
* feat: unified datachange from changeData, addData, updateData, and removeData; feat: item definition and first drawing
* feat: update canvas while addData; feat: update canvas while updateData (node); chore: unified additems, removeitems, updateitems to be itemchange hook
* feat: node and edge updating and drawing
* chore: neaten
* feat: draw and update labels for node and edge
* feat: icon for edge; feat: custom node and edge and register to lib
* feat: state related API for graph and item
* chore: update notes
* feat: state styles for item
* chore: update tests
* feat: implement add remove and update API for graph data module
* chore: remove IItem INode IEdge and ICombo from input and output of API in graph
* docs: udpate temporary graph api docs
* feat: hooks for graph; feat: data and interaction controllers for these two types of extensions
* chore: format notes
* perf: types refine
* feat: graph behavior apis
* feat: item and its controller
* feat: init Node Edge and Combo item
* feat: init layoutm theme, extension controllers
* feat: init Graph class
* feat: add gymnastics for behavior
* chore: behavior type generic refine
* chore: refine
* feat: complete hooks list