Skip to content

Releases: antvis/G6

4.8.7

21 Feb 11:52
0850433
Compare
Choose a tag to compare

fix: loop edge position after node dragging;
fix: handle drag-node interrupted by browser contextmenu and mouseup event outside the viewport;

4.8.6

20 Feb 10:00
5617873
Compare
Choose a tag to compare
  • fix: loop edge position for custom rect node, closes: #4236;
  • fix: drag-node should be ended after data changed;

4.8.5

31 Jan 10:30
2081be5
Compare
Choose a tag to compare
  • fix: combo with size and fixSize setting;
  • fix: active-relations with combo and clear states for destroyed virtual edges leads to unexpected error, closes: #4229;
  • fix: applyCloneClip with uncliped image leads to unexpected error, closes: #4231;
  • feat: drag-node and drag-combo support dynamically changes parent combos size while dragging the child items;

4.8.4

31 Jan 08:24
7cdc01c
Compare
Choose a tag to compare
  • fix: error edge link positions for circle combo with size config, closes: #4193;
  • fix: indented layout with different node widths, closes: #4200;
  • feat: indented layout with align config to tell the node drawing alignment;

4.8.3

06 Jan 09:02
57b11a9
Compare
Choose a tag to compare
  • fix: unexpected error occurs when points of a hull are all duplicated;

4.8.2

03 Jan 03:09
27cd01d
Compare
Choose a tag to compare
  • perf: add updateShape function for donut node, closes: #4091;
  • chore: refactor the implementation of donut node;
  • feat: legend supports diamond, ellipse, triangle, star shape, closes: #3876;
  • feat: add redo undo for TreeGraph, closes: #3664, #2414;

4.8.0

15 Dec 11:42
2d79ce9
Compare
Choose a tag to compare
  • fix: destroy graph and call layout problem, closes: #4126;
  • fix: remove duplicated event emit, closes: #4043;
  • fix: mousedown on other DOMs and mouseup on canvas, click is triggered unexpectly, closes: #2922;
  • fix: mousemove and mouseup are not triggered with drag and dragend, closes: #3086;
  • fix: replace DOMMouseScroll and mousewheel with wheel event, closes: #3256;
  • perf: refresh item when updateChild, updateChildren, addChild, removeChild for TreeGraph;

4.7.17

15 Dec 03:29
98b92a9
Compare
Choose a tag to compare
  • fix: expandCombo and the edges of the children are not refreshed, closes: #3250;
  • fix: the item param of the afterremoveitem for combo should be data;
  • fix: add type to the parameter list of beforeremoveitem event;
  • fix: edge update with destroyed end items, closes: #3925;
  • perf: take the max value of padding array for circle combo, closes: #4113;
  • feat: support top-center for rect combo label position, closes: #3750;
  • feat: createCombo and uncombo support stack, closes: #3695, #3323;

4.7.16

15 Dec 03:27
149de8e
Compare
Choose a tag to compare
  • feat: allowDragOnItem config for scroll-canvas, closes: #3062;
  • feat: allow to setTextWaterMarker and setImageWaterMarker with an undefined parameter to remove the watermarker, closes: #3478;
  • feat: hideEdge config for minimap to enhance the performance, closes: #3158;
  • fix: minimap has incorrect shape zIndex with keyShape type and delegate type, closes: #3132;
  • fix: minimap viewport dragging problem in firefox and safari, closes: #2939;
  • docs: add sequence demo to site, closes: #3027;
  • perf: unify the formats of shouldBegin, shouldUpdate, and shouldEnd in behaviors, closes: #3028;
  • perf: fitView and fitCenter according to the corner ndoes insead of getCanvasBBox to avoid maximum call stack size exceeded, closes: #2447;
  • fix: treeGraph changeData with node properties lost, closes: #3215;
  • fix: error occurs while calling updateLayout from gpu layout to a cpu layout, closes: #3272;
  • fix: error occurs while calling changeData to remove a node in a combo, closes: #3293;

4.7.15

25 Nov 07:17
d725a49
Compare
Choose a tag to compare
  • fix: dagre layout for collapsed combos;
  • perf: give layout algorithm vedges;