Skip to content

Releases: antvis/G6

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;

4.7.14

18 Nov 10:56
9dfe146
Compare
Choose a tag to compare
  • fix: error occurs while dragging combo with drag-node behavior;

4.7.13

11 Nov 09:07
142e9ea
Compare
Choose a tag to compare
  • fix: unexpected move with fitCenter with animation;
  • fix: update modelRect with rendering error, closes: #4041;

4.7.12

09 Nov 13:17
76da663
Compare
Choose a tag to compare
  • fix: drag-canvas incorrectly stopped by right click;
  • fix: createCombo with nodes which already has parent combos;
  • fix: setItemState on node, related edges's linking positions are not refreshed;
  • perf: combo animate inherit from graph's animate config;
  • perf: improve the performance of setItemState and active-relations again;
  • feat: graph supports optimizeThreshold to control the number threshold of nodes to enable the optimization on rendering and interaction, currently only affects the edges' refresh while the related node state style changed;