* feat: force2 from graphin-force; feat: preset for layout; feat: tweak incremental layout init for force like layouts;
* chore: update tests
* chore: upgrade version num
* chore: onLayoutEnd with nodes param
* fix: legend changeData problem, closes: #3561; fix: redo and undo with an image node, closes: #3782;
* fix: call refreshPositions instead of positionsAnimate while there is no layout configuration;
* test: update test cases
* perf: optimize the performance of combo graph;
* chore: upgrade license for g6-react-node
* chore: upgrade version nums
* docs: new demo for viewport animation
* fix: star node with leftBottom linkPoint show and hide problem; fix: relayout does not execute onAllLayoutEnd problem;
* fix: combo edge state update problem, closes: #3639;
* docs: add comboCombined demo for site
* docs: running arrow demo
* fix: custom layout warning and layout failed problem; fix: upgrade layout to fix DagreLayoutOptions type error; fix: upgrade layout to fix comboCombined with original node infomations problem;
* chore: tests refine
* Truncate node labels (#3690)
* Added maxLength property to LabelStyle
* Added unit test for label max length
* Added truncateLabelByLength util function
* Added safety checks for negative and non-number maxLength values
* Moved maxLength prop to labelCfg
* feat: maxLength for labelCfg;
* chore: upgrade version nums
Co-authored-by: Tony <51513780+TonyN96@users.noreply.github.com>
* fix: spelling error for nodeselectChange, closes: #3736; fix: update node icon from show false to show true; feat: combo supports collapsedSubstituteIcon showing after collapsed; feat: remove animations while first rendering with (collapsed)combos;
* chore: refine
* chore: gitleaks pin to v1-6-0
* fix: afterrender should be emitted when the layout is not configured;
* fix: update combo edge at the same time onDrag (#3734)
* docs: docs refine (#3733)
* implement more efficient way of dragging combo
* clean up
* reslove conflicts
Co-authored-by: Yanyan Wang <yanyanwang93@gmail.com>
* fix: [tooltip plugin] wrap className in quotes when createDom to support multi classname (#3747)
* docs: docs refine (#3733)
* fix: [tooltip plugin] wrap className in quotes when createDom
Co-authored-by: Yanyan Wang <yanyanwang93@gmail.com>
* perf: spelling error in drag-combo
* fix: relayout while collapse-expand-combo
* refactor: 将 toolbar plugin 的默认操作函数抽离 (#3718)
* refactor: refactor plugin toolBar
Change-Id: I7862749924f7a100d93a1e380524aea3ee96cc3d
* docs: update doc
Change-Id: Ifbb32ea0f0f0791994eb4cb88f4bd3af9b29d587
* refactor: remote {
Change-Id: I20bea2426bb077fe51ec1309aca8545b65a5d0a5
* chore: update CHANGELOG
* chore: update version nums
* fix: collapsed combo with error size
Co-authored-by: femiabdul <83455275+femiabdul@users.noreply.github.com>
Co-authored-by: bjym <aaron.bjym1011@gmail.com>
Co-authored-by: 忽如寄 <594613537@qq.com>
* feat: shouldDeselect param for lasso-select; fix: initial collapsed combos with unexpected size;
* docs: new docs for comboCombined; docs: update translate and zoom api with animate cfg
* chore: refine
* feat: support meta and key combination to trigger zoom for scroll-canvas behavior (#3568)
* feat: support meta and key combination to trigger zoom for scroll-canvas behavior
* docs: fix typo in docs
* fix: push ctrl into zoomKey array unexpectedly
Co-authored-by: litianyi.troy <litianyi.troy@bytedance.com>
* chore: update version nums
Co-authored-by: Troy Li <troy.lty@alipay.com>
Co-authored-by: litianyi.troy <litianyi.troy@bytedance.com>
* docs: add indented tree and brief node demos
* feat: combo supports being assigned positions
* fix: run layout promise only when the layout is configured;
* chore: rebase and version number unpdate
* chore: upgrade
* chore: refine
* chore: refine
* fix: no animate when a node has no previous position
* fix: fix the hidden combos not set correctly (#3509)
close#3508
* chore: update version
* chore: register dagreCompound layout (#3548)
* fix: #3513 切换节点文字位置,文字位置出现错误 (#3531)
Co-authored-by: daichaofan <daichaofan@139.com>
* chore: update versions
Co-authored-by: simplejason <simplejason.coder@gmail.com>
Co-authored-by: daichaofan <50311886+daichaofan@users.noreply.github.com>
Co-authored-by: daichaofan <daichaofan@139.com>
* docs: add indented tree and brief node demos
* fix: getUpdateType with type error; fix: edge label background with clearItemStates problem; fix: edge label with autoRotate false and padding problem; fix: changeData in the process of create-edge behavior, an error occurs, closes: #3384;
* fix: simple timebar silder text position strategy and expand the lineAppendWidth for the slider; feat: timebar supports filterItemTypes to configure the types of the graph items to be filtered; only nodes can be filtered before; feat: timebar supports to configure the rotate of the tick labels by tickLabelStyle[dot]rotate; feat: timebar supports container CSS configuration by containerCSS; feat: timebar supports a function getDate to returns the date value according to each node or edge by user; feat: timebar supports afunction getValue to returns the value (for trend line of trend timebar) according to each node or edge by user; feat: timebar supports to configure a boolean changeData to control the filter way, true means filters by graph[dot]changeData, false means filters by graph[dot]showItem and graph[dot]hideItem; feat: timebar supports to configure a function shouldIgnore to return true or false by user to decide whether the node or the edge should be ignored while filtering;
* fix: missing event with animated zoom (#3316)
* docs: update dagre docs
* feat: add translate animation (#3315)
* feat: add translate animation
* fix: add item type to the parameter of afterremoveitem event; (#3314)
* fix: add item type to the parameter of afterremoveitem event;
* fix: typo (#3311)
Co-authored-by: qinggniq <livewithblank@outlook.com>
* fix: use move for animated translate
* fix: interface signatures
Co-authored-by: Yanyan Wang <yanyanwang93@gmail.com>
Co-authored-by: qinggniq <livewithblank@outlook.com>
* fix: edge label padding bug, closes: #3346;fix: update node with iconfont icon, the icon is updated to a wrong position, closes: #3348;
* fix: test problems
* chore: update version nums
* chore: update version nums after publishing
Co-authored-by: Fabio Tacchelli <fabio.tacchelli@gmail.com>
Co-authored-by: qinggniq <livewithblank@outlook.com>
* chorre: try to optimize the performance of updating nodes
* feat: better performance for item drawing
* fix: combos is null in data validation
* fix: disable the capture of hull shape to enhance the performance of dragging canvas with hulls
* chore: upgrade antv matrix-util
* fix: upgrade layout to beta 5 to solve proxy problem for IE;
* chore: update version num
* docs: udpate CHANGELOG
* fix typo (#3307)
* feat: add zoom animation (#3264)
add jsdoc
* docs: fix 404 url (#3269)
* docs(zh): update url of 'Combo Force Layout'
* docs(en): update url of 'Combo Force Layout'
* Update TreeGraph.zh.md
* Update TreeGraph.en.md
* update
* fix: fix path shape will disappear after setItemState (#3291)
setItemState will change shape.attrs.path into a object
* docs: update site doces
* chore: update version num
Co-authored-by: shiwu <shiwu.wyy@antgroup.com>
Co-authored-by: qinggniq <livewithblank@gmail.com>
Co-authored-by: Fabio Tacchelli <fabio.tacchelli@gmail.com>
Co-authored-by: EvanOne(文一) <1656081615@qq.com>
Co-authored-by: dgmpk <465316497@qq.com>
* docs: Indented layoutCfg.indent support function
We can set node's horizontal offset dynamically with function,
which allow user to create custom layout.
Closes#3081
* docs: Indented layoutCfg.indent support function
Co-authored-by: powellpeng <powellpeng@tencent.com>
* fix: update edge to be horizontal and the label is on wrong position for min file
* fix: update edge to be horizontal and the label is on wrong position for min file;
Co-authored-by: shiwu <shiwu.wyy@antgroup.com>