1 | # ChangeLog
|
2 |
|
3 | #### 4.0.3
|
4 |
|
5 | - fix: state style restore for non-circle shapes;
|
6 |
|
7 | #### 4.0.2
|
8 |
|
9 | - fix: node and edge state style with update problem;
|
10 | - fix: import lib problem;
|
11 | - fix: import node module problem;
|
12 | - fix: hidden shapes show up after zoom-canvas or drag-canvas with enableOptimize;
|
13 | - fix: tooltip for combo;
|
14 | - fix: update edge with false endArrow and startArrow;
|
15 |
|
16 | #### 4.0.1
|
17 |
|
18 | - fix: glslang problem;
|
19 |
|
20 | #### 4.0.0-beta.0
|
21 |
|
22 | - feat: fruchterman and gforce layout with gpu;
|
23 | - feat: gforce;
|
24 | - feat: updateChildren API for TreeGraph;
|
25 | - feat: louvain clustering algorithm;
|
26 | - feat: container of plugins with dom id;
|
27 | - feat: label propagation clustering algorithm;
|
28 | - feat: get color sets by subject color array;
|
29 | - feat: canvas context menu;
|
30 | - feat: stop gforce;
|
31 | - feat: dark rules for colors;
|
32 | - fix: text redidual problem, closes: #2045 #2193;
|
33 | - fix: graph on callback parameter type problem, closes: #2250;
|
34 | - fix: combo zIndex problem;
|
35 | - fix: webworker updateLayoutCfg problem;
|
36 | - fix: drag-canvas and click node on mobile;
|
37 |
|
38 | #### 3.8.5
|
39 |
|
40 | - fix: get fontFamily of the window in global leads to DOM depending when using bigfish;
|
41 |
|
42 | #### 3.8.4
|
43 |
|
44 | - feat: new version of basic styles for light version;
|
45 | - feat: shortcuts-call behavior for calling a Graph function by shortcuts;
|
46 | - feat: color generate util function getColorsWithSubjectColor;
|
47 | - fix: drag-canvas on mobile problem;
|
48 | - fix: style update problem with stateStyles in the options of registerNode;
|
49 |
|
50 | #### 3.8.3
|
51 |
|
52 | - feat: drag the viewport of the minimap out of the the view;
|
53 | - fix: extend modelRect with description problem, closes: #2235;
|
54 |
|
55 | #### 3.8.2
|
56 |
|
57 | - feat: graph.setImageWaterMarker, graph.setTextWaterMarker API;
|
58 | - feat: zoom-canvas support mobile;
|
59 | - fix: drag-canvas behavior support scalable range, closes: #2136;
|
60 | - fix: TreeGraph changeData clear all states, closes: #2173;
|
61 | - chore: auto zoom tooltip & contextMenu component when zoom-canvas;
|
62 | - chore: upgrade @antv/g-canvas;
|
63 | - feat: destroyLayout API for graph, closes: #2140;
|
64 | - feat: clustering for force layout, closes: #2196;
|
65 | - fix: svg renderer minimap hidden elements probem, closes: #2174;
|
66 | - feat: add extra parameter graph for menu plugin, closes: #2204;
|
67 | - fix: tooltip plugin, crossing different shape cant execute the getContent function, closes: #2153;
|
68 | - feat: add edgeConfig for create-edge behavior, closes: #2195;
|
69 | - fix: remove the source node while creat-edge;
|
70 | - feat: create-edge for combo, closes: #2211;
|
71 | - fix: update the typings for G6Event;
|
72 |
|
73 | #### 3.8.1
|
74 |
|
75 | - fix: update edge states with updateItem problem, closes: #2142;
|
76 | - fix: create-edge behavior with polyline problem, closes: #2165;
|
77 | - fix: console.warn show duplicate ID, closes: #2163;
|
78 | - feat: support the drag-canvas behavior on the mobile device, closes: #816;
|
79 | - chore: timeBar component docs;
|
80 |
|
81 | #### 3.8.0
|
82 |
|
83 | - fix: treeGraph render with addItem and stack problem, closes: #2084;
|
84 | - feat: G6 Interactive Document GraphMarker;
|
85 | - feat: registerNode with jsx support afterDraw and setState;
|
86 | - feat: edge filter lens plugin;
|
87 | - feat: timebar plugin;
|
88 |
|
89 | #### 3.7.3
|
90 |
|
91 | - fix: update G to fix the shape disappear when it has been dragged out of the view port problem, closes: #2078, #2030, #2007;
|
92 | - fix: redo undo with treeGraph problem;
|
93 | - fix: remove item with itemType problem, closes: #2096.
|
94 |
|
95 | #### 3.7.2
|
96 |
|
97 | - fix: toolbar redo undo addItem with type problem, closes #2043;
|
98 | - fix: optimized drag-canvas with hidden items;
|
99 | - fix: state style with 0 value problem, closes: #2039;
|
100 | - fix: layout with webworker leads to twice beforelayout, closes: #2052;
|
101 | - fix: context menu with sibling doms of graph container leads to position problem, closes: #2053;
|
102 | - fix: changeData with combos problem, closes: #2064;
|
103 | - fix: improve the position of the context menu before showing up;
|
104 | - feat: fisheye allows user to config the trigger of scaling range(r) and magnify factor(d) by scaleRBy and scaleDBy respectively;
|
105 | - feat: add the percent text of magnify factor(d) for fisheye and users are allowed to configure it by show showDPercent.
|
106 |
|
107 | #### 3.7.1
|
108 |
|
109 | - fix: hide the tooltip plugin when drag node and contextmenu, closes #1975;
|
110 | - fix: processParellelEdges without edge id problem;
|
111 | - fix: label background with left, right position problem, closes #1861;
|
112 | - fix: create-edge and redo undo problem, #1976;
|
113 | - fix: tooltip plugin with shouldBegin problem, closes #2006;
|
114 | - fix: tooltip behavior with shouldBegin problem, closes #2016;
|
115 | - fix: the position of grid plugins when there is something on the top of the canvas, closes: #2012;
|
116 | - fix: fisheye destroy and new problem, closes: #2018;
|
117 | - fix: node event with wrong canvasX and canvasY problem, closes: #2027;
|
118 | - fix: drag combo and drag node to drop on canvas/combo/node problem;
|
119 | - feat: improve the performance on the combos;
|
120 | - fix: redo and undo problem when update item after additem, closes #2019;
|
121 | - feat: hide shapes beside keyShape while zooming;
|
122 | - feat: improve the performance on the combos.
|
123 |
|
124 | #### 3.7.0
|
125 |
|
126 | - feat: chart node;
|
127 | - feat: bubble set;
|
128 | - feat: custom node with JSX;
|
129 | - feat: minimum spanning tree algorithm;
|
130 | - feat: path finding algorithm;
|
131 | - feat: cycle finding algorithm;
|
132 | - chore: update antv/hierarchy to fix indented tree with dropCap problem.
|
133 |
|
134 | #### 3.6.2
|
135 |
|
136 | - feat: find all paths and the shortest path between two nodes;
|
137 | - feat: fisheye with dragging;
|
138 | - feat: fisheye with scaling range and d;
|
139 | - feat: click and drag to create an edge by create-edge behavior;
|
140 | - feat: process multiple parallel edges to quadratic with proper curveOffset;
|
141 | - fix: polyline with rect and radius=0 problem;
|
142 | - fix: arrow state & linkpoint;
|
143 | - fix: the position of the tooltip plugin;
|
144 | - fix: drop a node onto a sub node of a combo;
|
145 | - chore: update hierarchy to solve the children ordering problem for indented tree layout;
|
146 | - chore: extract the public calculation to enhance the performance of fisheye.
|
147 |
|
148 | #### 3.6.1-beta
|
149 |
|
150 | - chore: update g-canvas to support quickHit and pruning the rendering of the graph outside the viewport;
|
151 | - feat: add statistical chart nodes;
|
152 | - feat: add hull for create smooth contour to include specific items;
|
153 | - fix: clear combos before render;
|
154 | - fix: menu plugin with clickHandler problem.
|
155 |
|
156 | #### 3.6.1
|
157 |
|
158 | - feat: image minimap;
|
159 | - feat: visible can be controlled in the data;
|
160 | - feat: item type for tooltip plugin;
|
161 | - feat: menu plugin with shouldUpdate;
|
162 | - fix: tooltip plugin position and hidden by removeItem;
|
163 | - fix: tooltip behavior hidden by removeItem;
|
164 | - fix: menu plugin with clicking on canvas problem;
|
165 | - fix: menu plugin with clickHandler problem;
|
166 | - fix: createCombo with double nodes problem.
|
167 |
|
168 | #### 3.6.0
|
169 |
|
170 | - feat: fisheye lens plugin;
|
171 | - feat: lasso-select behavior;
|
172 | - feat: TimeBar plugin;
|
173 | - feat: ToolBar plugin.
|
174 |
|
175 | #### 3.5.12
|
176 |
|
177 | - fix: node:click is triggered twice while clicking a node;
|
178 | - fix: update combo edge when drag node out of it problem;
|
179 | - feat: animate configuration for combo, true by default;
|
180 | - fix: calling canvas.on('\*', ...) instead of origin way in event controller leads to malposition while dragging nodes with zoomed graph.
|
181 |
|
182 | #### 3.5.11
|
183 |
|
184 | - feat: graph.priorityState api;
|
185 | - feat: graph.on support name:event mode.
|
186 | - fix: combo edge with uncorrect end points;
|
187 | - fix: combo polyline edge with wrong path;
|
188 | - fix: getViewCenter with padding problem;
|
189 | - fix: cannot read property 'getModel' of null problem on contextmenu when the target is not an item;
|
190 | - feat: allow user to configure the initial positions for empty combos;
|
191 | - feat: optimize by hiding edges and shapes which are not keyShape while dragging canvas;
|
192 | - feat: fix the initial positions by equably distributing for layout to produce similar result.
|
193 |
|
194 | #### 3.5.10
|
195 |
|
196 | - fix: fitView and fitCenter with animate in the initial state;
|
197 | - fix: dulplicated edges in nodeselectchange event of brush-select;
|
198 | - fix: triple click and drag canvas problem;
|
199 | - fix: sync the minZoom and maxZoom in drag-canvas and graph;
|
200 | - fix: integrate getSourceNeighbors and getTargetNeighbors to getNeighbors(node, type);
|
201 | - feat: initial x and y for combo data;
|
202 | - feat: dagre layout supports sortByCombo;
|
203 | - feat: allow user to disable relayout in collapse-expand-combo behavior;
|
204 | - feat: dijkstra shortest path lenght algorithm.
|
205 |
|
206 | #### 3.5.9
|
207 |
|
208 | - fix: multiple animate update shape for combo;
|
209 | - fix: removeItem from a combo.
|
210 |
|
211 | #### 3.5.8
|
212 |
|
213 | - fix: combo edge problem, issues #1722;
|
214 | - feat: adjacency matrix algorithm;
|
215 | - feat: Floyd Warshall shortest path algorithm;
|
216 | - feat: built-in arrows;
|
217 | - feat: built-in markers;
|
218 | - fix: force layout with addItem and relayout;
|
219 | - fix: create combo with parentId problem;
|
220 | - feat: allow user to configure the pixelRatio for Canvas;
|
221 | - chore: update G to resolve the blur canvas problem.
|
222 |
|
223 | #### 3.5.7
|
224 |
|
225 | - feat: shouldBegin for click-select behavior;
|
226 | - feat: graph.getGroup, graph.getContainer, graph.getMinZoom, graph.setMinZoom, graph.getMaxZoom, graph.setMaxZoom, graph.getWidth, graph.getHeight API;
|
227 | - fix: combo edge dashLine attribute;
|
228 | - fix: combo collapse and expand with edges problem;
|
229 | - fix: destroy the tooltip DOMs when destroy the graph;
|
230 | - fix: unify the shape names for custom node and extended node;
|
231 | - fix: update the edges after first render with collapsed combos.
|
232 |
|
233 | #### 3.5.6
|
234 |
|
235 | - feat: dropCap for indented TreeGraph layout.
|
236 |
|
237 | #### 3.5.5
|
238 |
|
239 | - fix: custom node with setState problem;
|
240 | - fix: validationCombo in drag-combo and drag-node.
|
241 |
|
242 | #### 3.5.3
|
243 |
|
244 | - feat: focusItem with animation;
|
245 | - feat: generate the image url of the full graph by graph.toFullDataUrl;
|
246 | - fix: graph dispears after being dragged out of the canvas and back;
|
247 | - fix: the graph cannot be dragged back if it is already out of the view;
|
248 | - fix: size and radius of the linkPoints problem;
|
249 | - fix: combo graph with unused state name in comboStateStyles;
|
250 | - fix: preventDefault in drag-canvas behavior.
|
251 |
|
252 | #### 3.5.2
|
253 |
|
254 | - feat: degree algorithm;
|
255 | - feat: graph.getNodeDegree;
|
256 | - fix: downloadFullImage changes the matrix of the graph problem;
|
257 | - fix: circular layout modifies the origin data with infinite hierarchy problem.
|
258 |
|
259 | #### 3.5.1
|
260 |
|
261 | - feat: graph.fitCenter to align the graph center to canvas center;
|
262 | - fix: getType is not a function error occurs when addItem with point;
|
263 | - fix: checking comboTrees avaiability;
|
264 | - fix: error occurs when createCombo into the graph without any combos;
|
265 | - fix: endPoint and startPoint are missing in modelConfig type;
|
266 | - fix: edge background leads to empty canvas when the autoRotate is false;
|
267 | - fix: combo state style bug.
|
268 |
|
269 | #### 3.5.0
|
270 |
|
271 | - feat: combo and combo layout;
|
272 | - feat: graph algorithms: DFS, BFS and circle detection;
|
273 | - feat: add `getNeighbors`, `getSourceNeighbors`, `getTargetNeighbors` methods on Graph and Node;
|
274 | - feat: add `getID` method on Item;
|
275 | - fix: All Configuration type declarations are migrated to types folder, refer [here](https://github.com/antvis/G6/commit/3691cb51264df8529f75222147ac3f248b71f2f6?diff=unified#diff-76cf0eb5e3d8032945f1ac79ffc5e815R6);
|
276 | - fix: Some configuration type declarations have removed the `I` prefix, refer [here](https://github.com/antvis/G6/commit/3691cb51264df8529f75222147ac3f248b71f2f6?diff=unified#diff-aa582974831cee2972b8c96cfcce503aR16);
|
277 | - feat: Util.getLetterWidth and Util.getTextSize.
|
278 |
|
279 | #### 3.4.10
|
280 |
|
281 | - fix: TreeGraphData type with style and stateStyles;
|
282 | - fix: wrong controlpoint position for bezier curves with getControlPoint.
|
283 |
|
284 | #### 3.4.9
|
285 |
|
286 | - fix: transplie d3-force to support IE11.
|
287 |
|
288 | #### 3.4.8
|
289 |
|
290 | - feat: update the keyShape type minimap when the node or edge's style is updated;
|
291 | - fix: problem about switching to another applications or browser menu and then switch back, the drag-canvas does not take effect;
|
292 | - fix: fix the problem about fail to render the graph when the animate and fitView are true by turn off the animate for rendering temporary;
|
293 | - fix: curveOffset for arc, quadratic, cubic edge.
|
294 |
|
295 | #### 3.4.7
|
296 |
|
297 | - feat: downloadFullImage when the (part of) graph is out of the screen;
|
298 | - feat: With pre-graph has no layout configurations and no positions in data, calling changeData to change into a new data with positions, results in show the node with positions in data;
|
299 | - feat: allow user to assign curveOffset and curvePostion for Bezier curves;
|
300 | - fix: moveTo wrong logic problem;
|
301 | - fix: removeItem to update the minimap.
|
302 |
|
303 | #### 3.4.6
|
304 |
|
305 | - same as 3.4.5, published wrongly.
|
306 |
|
307 | #### 3.4.5
|
308 |
|
309 | - feat: background of the label on node or edge;
|
310 | - feat: better performance of minimap;
|
311 | - fix: minimap viewport displace problem;
|
312 | - feat: offset of tooltip;
|
313 | - fix: the length of the node's name affects the tree layout;
|
314 | - fix: toFront does not work for svg renderer;
|
315 | - fix: error occurs when the fontSize is smaller than 12 with svg renderer;
|
316 | - fix: changeData clears states;
|
317 | - fix: state does not work when default labelCfg is not assigned.
|
318 |
|
319 | #### 3.4.4
|
320 |
|
321 | - feat: background color for downloadImage and toDataURL;
|
322 | - feat: support configure image for grid plugin;
|
323 | - fix: initial position for fruchterman layout;
|
324 | - refactor: clip for image node.
|
325 | - fix: cubic with only one controlPoint error;
|
326 | - fix: polyline without L attributes.
|
327 |
|
328 | #### 3.4.3
|
329 |
|
330 | - fix: support extends BehaviorOption;
|
331 | - fix: click-select Behavior support multiple selection using ctrl key.
|
332 |
|
333 | #### 3.4.2
|
334 |
|
335 | - feat: zoom-canvas behavior supports hiding non-keyshape elements when scaling canvas;
|
336 | - refactor: when the second parameter is null, clearItemStates will clear all states of the item;
|
337 | - fix: [changeData bug](https://github.com/antvis/G6/issues/1323);
|
338 | - fix: update antv/hierarchy to fix fixedRoot for TreeGraph;
|
339 | - fix: problem of a graph has multiple polyline edges;
|
340 | - fix: problem of dagre with controlPoints and loop edges.
|
341 |
|
342 | #### 3.4.1
|
343 |
|
344 | - feat: force layout clone original data model to allow the customized properties;
|
345 | - fix: BehaviorOptions type error;
|
346 | - fix: fitView the graph with data whose nodes and edges are empty arrays;
|
347 | - fix: rect node positions are changed after calling graph.changeData;
|
348 | - fix: drag behavior is disabled when the keys are released invalidly;
|
349 | - refactor: update G and the fill of custom arrow should be assigned by user.
|
350 |
|
351 | #### 3.4.0
|
352 |
|
353 | - feat: SVG renderer;
|
354 | - refactor: new state mechanism with multiple values, sub graphics shape style settings.
|
355 |
|
356 | #### 3.3.7
|
357 |
|
358 | - feat: beforeaddchild and afteraddchild emit for TreeGraph;
|
359 | - feat: built-in nodes' labels can be captured;
|
360 | - fix: drag shadow caused by localRefresh, update the g-canvas version;
|
361 | - fix: abnormal polyline bendding;
|
362 | - fix: collapse-expand trigger problem;
|
363 | - fix: update nodes with empty string label;
|
364 | - fix: abnormal rendering when a graph has image nodes and other type nodes.
|
365 |
|
366 | #### 3.3.6
|
367 |
|
368 | - feat: support edge weight for dagre layout;
|
369 | - feat: automatically add draggable to keyShape, users do not need to assign it when custom a node or an edge;
|
370 | - fix: cannot read 0 or null problem in getPointByCanvas;
|
371 | - fix: brush-select bug;
|
372 | - fix: set autoDraw to canvas when graph's setAutoPaint is called;
|
373 | - fix: modify the usage of bbox in view controller since the interface is chagned by G;
|
374 | - fix: the shape.attr error in updateShapeStyle;
|
375 | - fix: local refresh influence on changeData;
|
376 | - refactor: upgrade g-canvas to 0.3.23 to solve lacking of removeChild function;
|
377 | - doc: update the demo fo custom behavior doc;
|
378 | - doc: add plugin demos and cases for site;
|
379 | - doc: fix shouldUpdate problem in treeWithLargeData demo on the site.
|
380 |
|
381 | #### 3.3.5
|
382 |
|
383 | - fix: 3.3.4 is not published successfully;
|
384 |
|
385 | #### 3.3.4
|
386 |
|
387 | - fix: 3.3.3 is not published successfully;
|
388 | - fix: delegate or keyShape type minimap does not display bug;
|
389 | - fix: dragging bug on minimap with a graph whose bbox is nagtive;
|
390 | - fix: null matrix bug, create a unit matrix for null.
|
391 |
|
392 | #### 3.3.3
|
393 |
|
394 | - fix: delegate or keyShape type minimap does not display bug;
|
395 | - fix: null matrix in focus() and getLoopCfgs() bug.
|
396 |
|
397 | #### 3.3.2
|
398 |
|
399 | - fix: ts type export problem;
|
400 | - fix: edge with endArrow and autoRotate label bug;
|
401 | - fix: code prettier;
|
402 | - fix: line with control points bug;
|
403 | - fix: matrix null bug.
|
404 |
|
405 | #### 3.3.1
|
406 |
|
407 | - fix: resolve 3.3.0 compatibility problem.
|
408 |
|
409 | #### 3.3.0
|
410 |
|
411 | - Graph API
|
412 | - refactor: delete removeEvent function, use off;
|
413 | - refactor: parameters of Shape animate changed, shape.animate(toAttrs, animateCfg) or shape.animate(onFrame, animateCfg);
|
414 | - feat: descriptionCfg for modelRect to define the style of description by user;
|
415 | - feat: update a node from without some shapes to with them, such as linkPoints, label, logo icon and state icon for modelRect;
|
416 | - feat: the callback paramter of event nodeselectchange is changed to { target, selectedItems, ... };
|
417 | - feat: support stateStyles in node and edge data;
|
418 | - feat: calculate pixelRatio by G automatically, user do not need to assign it to graph instance;
|
419 | - chore: G 4.0
|
420 | - refactor: refreshLayout of TreeGraph is renamed as layout
|
421 | - fix: no fan shape in G any more
|
422 | - feat: recommand to assign name for each shape when addShape
|
423 | - fix: do not support SVG renderer anymore. no renderer for graph configuration anymore
|
424 | - refactor: plugins usage is changed into new G6.PluginName()
|
425 |
|
426 | #### 3.2.7
|
427 |
|
428 | - feat: supports create the group without nodes in node-group;
|
429 | - fix: supports destoryed properties and fix issue 1094;
|
430 |
|
431 | #### 3.2.6
|
432 |
|
433 | - feat: supports sort the nodes on one circle according to the data ordering or some attribute in radial layout
|
434 | - fix: grid layout with cols and rows
|
435 | - feat: fix the nodes with position information in their original data and random the positions of others when the layout is not defined for graph
|
436 |
|
437 | #### 3.2.5
|
438 |
|
439 | - fix: click-select trigger error
|
440 | - fix: solved position problem for minimap
|
441 |
|
442 | #### 3.2.4
|
443 |
|
444 | - fix: typescript compile error
|
445 | - fix: delete sankey lib
|
446 |
|
447 | #### 3.2.3
|
448 |
|
449 | - fix: group position error
|
450 | - fix: supports not set layout type
|
451 |
|
452 | #### 3.1.5
|
453 |
|
454 | - feat: supports g6 types file
|
455 | - fix: set brush-select trigger param to ctrl not work
|
456 | - fix: when set fitView to true, drag-group Behavior not get desired positon
|
457 |
|
458 | #### 3.1.3
|
459 |
|
460 | - feat: radial layout nonoverlap iterations can be controlled by user
|
461 | - feat: add lock, unlock and hasLocked function, supports lock and unlock node
|
462 | - fix: mds with discrete points problem
|
463 | - fix: fruchterman-group layout title position for rect groups
|
464 |
|
465 | #### 3.1.2
|
466 |
|
467 | - feat: default behavior supports configuration trigger mode
|
468 | - feat: node combining supports configuration title
|
469 | - fix: update demo state styles
|
470 |
|
471 | #### 3.1.1
|
472 |
|
473 | - fix: update node use custom config
|
474 | - fix: update demo
|
475 | - feat: default node implement getShapeStyle function
|
476 |
|
477 | #### 3.1.0
|
478 |
|
479 | - feat: support for rich layouts:random, radial, mds, circular, fruchterman, force, dagre
|
480 | - feat: more flexible configuration for shape
|
481 | - feat: build-in rich default nodes
|
482 | - feat: cases that provide layout and default nodes
|
483 |
|
484 | #### 3.0.7-beta.1
|
485 |
|
486 | `2019-09-11`
|
487 |
|
488 | - fix: zoom-canvas support IE and Firefox
|
489 |
|
490 | #### 3.0.6
|
491 |
|
492 | `2019-09-11`
|
493 |
|
494 | - fix: group data util function use module.exports
|
495 | - feat: update @antv/hierarchy version
|
496 |
|
497 | #### 3.0.5
|
498 |
|
499 | `2019-09-10`
|
500 |
|
501 | - feat: support add and remove group
|
502 | - feat: support collapse and expand group
|
503 | - feat: add graph api: collapseGroup and expandGroup
|
504 |
|
505 | #### 3.0.5-beta.12
|
506 |
|
507 | - feat: add rect group
|
508 | - feat: add rect group demo
|
509 | - feat: add chart node
|
510 |
|
511 | ---
|
512 |
|
513 | #### 3.0.5-beta.10
|
514 |
|
515 | - feat: add 5 chart node
|
516 | - feat: collapse-expand tree support click and dblclick by trigger option
|
517 | - fix: drag group bug fix
|
518 |
|
519 | #### 3.0.5-beta.9
|
520 |
|
521 | - feat: support render group
|
522 | - feat: support drag group, collapse and expand group, drag node in/out group
|
523 | - feat: add drag-group、collapse-expand-group and drag-node-with-group behavior
|
524 | - feat: add drag-group and collapse-expand-group demo
|
525 | - feat: add register list node demo
|
526 |
|
527 | #### 3.0.5-beta.8
|
528 |
|
529 | `2019-07-19`
|
530 |
|
531 | - feat: add five demos
|
532 | - refactor: update three behaviors
|
533 |
|
534 | #### 2.2.5
|
535 |
|
536 | `2018-12-20`
|
537 |
|
538 | - feat: add saveimage limitRatio
|
539 |
|
540 | #### 2.2.4
|
541 |
|
542 | `2018-12-20`
|
543 |
|
544 | - fix: bug fix
|
545 |
|
546 | #### 2.2.3
|
547 |
|
548 | `2018-12-10`
|
549 |
|
550 | - fix: bug fix
|
551 |
|
552 | #### 2.2.2
|
553 |
|
554 | `2018-11-30`
|
555 |
|
556 | - fix: tree remove guide will not getEdges.closes #521
|
557 |
|
558 | #### 2.2.1
|
559 |
|
560 | `2018-11-25`
|
561 |
|
562 | - fix: Compatible with MOUSEWHEEL
|
563 | - fix: fadeIn aniamtion
|
564 | - fix: fix wheelZoom behaviour by removing the deprecated mousewheel event
|
565 |
|
566 | #### 2.2.0
|
567 |
|
568 | `2018-11-22`
|
569 |
|
570 | - fix: Graph read zIndex
|
571 | - refactor: Animation
|
572 |
|
573 | #### 2.1.5
|
574 |
|
575 | `2018-10-26`
|
576 |
|
577 | - fix: svg pixelRatio bug
|
578 | - feat: add wheel event
|
579 |
|
580 | #### 2.1.4
|
581 |
|
582 | `2018-10-06`
|
583 |
|
584 | - fix: custom math.sign to compatible with ie browser.Closes #516.
|
585 | - fix: legend component from @antv/component
|
586 | - feat: update svg minimap && fix svg dom event
|
587 |
|
588 | #### 2.1.3
|
589 |
|
590 | `2018-09-27`
|
591 |
|
592 | - feat: add label rotate
|
593 | - feat: if there is no items the graph box equal canvas size
|
594 |
|
595 | #### 2.1.2
|
596 |
|
597 | `2018-09-19`
|
598 |
|
599 | - fix: dom getShape bug.Closes #472
|
600 | - fix: template.maxSpanningForest bug
|
601 |
|
602 | #### 2.1.1
|
603 |
|
604 | `2018-09-17`
|
605 |
|
606 | - fix: tool.highlightSubgraph calculate box bug
|
607 | - fix: plugin.grid.Closes #479
|
608 | - chore(dev): upgrade babel & torchjs
|
609 |
|
610 | #### 2.1.0
|
611 |
|
612 | `2018-09-03`
|
613 |
|
614 | - feat: svg render
|
615 | - feat: plugin.layout.forceAtlas2
|
616 | - feat: plugin.tool.fisheye
|
617 | - feat: plugin.tool.textDisplay
|
618 | - feat: plugin.tool.grid
|
619 | - feat: plugin.template.tableSankey
|
620 | - feat: plugin.edge.polyline
|
621 |
|
622 | #### 2.0.5
|
623 |
|
624 | `2018-07-12`
|
625 |
|
626 | - improve: add g6 arrow
|
627 |
|
628 | #### 2.0.4
|
629 |
|
630 | `2018-07-12`
|
631 |
|
632 | - feat: layout export group.Closes #355
|
633 | - feat(plugin): add tool.tooltip. Closes #360.
|
634 | - style: change the calling way of forceAtlas2 on template.maxSpanningForest
|
635 | - fix: origin tree data collapsed is true tree edge visible bug.Closes #357
|
636 | - fix: remove the forceAtlas.js in template.maxSpanningForest, use forceAtlas from layout.forceAtlas2
|
637 | - fix: add demos: plugin-fisheye, plugin-forceAtlas2, gallery-graphanalyzer
|
638 | - fix: add demos: plugin-forceAtlas2, plugin-fisheye
|
639 |
|
640 | #### 2.0.3
|
641 |
|
642 | `2018-06-29`
|
643 |
|
644 | - feat: update g to 3.0.x. Closes #346
|
645 | - fix: group should use rect intersect box. Close #297
|
646 | - fix(plugin): dagre edge controlpoints remove start point and end point
|
647 | - style: remove some annotations
|
648 | - chore: update torchjs && improve demo name
|
649 |
|
650 | #### 2.0.2
|
651 |
|
652 | `2018-06-13`
|
653 |
|
654 | - chore(plugin): require g6 by src/index
|
655 | - chore(dev test): remove useless test script
|
656 | - fix(plugin) minimap destroy Closes #308
|
657 | - fix(saveImage) saveImage bug
|
658 | - fix(event): fix dom coord. Closes #305
|
659 |
|
660 | #### 2.0.1
|
661 |
|
662 | `2018-06-11`
|
663 |
|
664 | - fix: reDraw edge after layout
|
665 | - feat: add quadraticCurve config cpd
|
666 | - feat: add beforelayout && afterlayout event
|
667 | - chore: .travis.yml add add Node.js
|
668 | - chore: .travis.yml cache node_modules
|
669 |
|
670 | #### 2.0.0
|
671 |
|
672 | `2018-06-06`
|
673 |
|
674 | - refactor: refactor architecture && code
|
675 |
|
676 | #### 1.2.1
|
677 |
|
678 | `2018-03-15`
|
679 |
|
680 | - feat: layout interface
|
681 |
|
682 | #### 1.2.0
|
683 |
|
684 | `2018-01-15`
|
685 |
|
686 | - fix: nodeActivedBoxStyle spelling error
|
687 | - fix: error when deleting a circle
|
688 | - fix: trigger dragstart while right clicking and moveing
|
689 | - feat: Unify Layout mechanism
|
690 | - feat: Plugin mechanism
|
691 | - feat: Data filter mechanism
|
692 | - feat: Activated interface
|
693 | - feat: Action wheelZoomAutoLabel
|
694 | - feat: configuration of graph -- preciseAnchor
|
695 | - remove: Global.preciseAnchor
|
696 | - remove: Layout.Flow、Layout.Force
|
697 | - improve: html container strategy
|
698 |
|
699 | #### 1.1.6
|
700 |
|
701 | `2017-10-15`
|
702 |
|
703 | - fix: pack problem in layout algorithm
|
704 |
|
705 | #### 1.1.5
|
706 |
|
707 | `2017-09-15`
|
708 |
|
709 | - fix: dragCanvas is effective while mousemove, prevent it from affecting click events
|
710 | - fix: unactivate pick-up in activeRectBox of node
|
711 |
|
712 | #### 1.1.4
|
713 |
|
714 | `2017-08-15`
|
715 |
|
716 | - feat: graph.invertPoint()
|
717 | - feat: third configuration of anchor to support style setting, float style, connection
|
718 | - feat: item.getGroup()
|
719 | - feat: events -- afteritemrender、itemremove、itemadd
|
720 | - feat: behaviourSignal
|
721 | - improve: mouseWheel is affective after focusing the canvas
|
722 |
|
723 | #### 1.1.3
|
724 |
|
725 | `2017-08-8`
|
726 |
|
727 | - feat: Graph configuration -- useNodeSortGroup
|
728 | - feat: Global.nodeDelegationStyle, Global.edgeDelegationStyle, isolate the delegation of edge and node on graph
|
729 | - fix: itemremove is triggered before destroying a graph
|
730 |
|
731 | #### 1.1.2
|
732 |
|
733 | `2017-08-01`
|
734 |
|
735 | - feat: dragBlankX dragBlankY
|
736 |
|
737 | #### 1.1.1
|
738 |
|
739 | `2017-07-18`
|
740 |
|
741 | - improve: dragNode protect mechanism
|
742 |
|
743 | #### 1.1.0
|
744 |
|
745 | `2017-07-05`
|
746 |
|
747 | - feat: HTML node
|
748 | - feat: mapper support callback function
|
749 | - feat: Graph interfaces -- updateMatrix、changeSize、showAnchor、hideAnchor、updataNodesPosition
|
750 | - feat: tool functions -- Util.isNode()、Util.isEdge()
|
751 | - feat: Shape polyLineFlow
|
752 | - feat: dragEdgeEndHideAnchor、dragNodeEndHideAnchor、hoverAnchorSetActived、hoverNodeShowAnchor
|
753 |
|
754 | #### 1.0.7
|
755 |
|
756 | `2017-06-21`
|
757 |
|
758 | - fix: draw one more time in 16ms after first draw
|
759 | - improve: add zoom by scroll in edit mode
|
760 |
|
761 | #### 1.0.6
|
762 |
|
763 | `2017-06-15`
|
764 |
|
765 | - fix: compatible in chrome in windows. triggering mousemove after first click leads to wrong click event.
|
766 | - feat: support fix size graphics
|
767 | - feat: analysis mode
|
768 | - feat: updateNodesPositon update a set of nodes' position
|
769 | - improve: change useAnchor to be a configuration of edge
|
770 |
|
771 | #### 1.0.5
|
772 |
|
773 | `2017-06-01`
|
774 |
|
775 | - feat: downloadImage support saving with name
|
776 | - feat: automatically detect tooltip padding
|
777 | - improve: stop the action while mouse dragging out of the canvas
|
778 |
|
779 | #### 1.0.4
|
780 |
|
781 | `2017-05-20`
|
782 |
|
783 | - fix: tree changeData Bug
|
784 | - fix: when getAnchorPoints returns auto, anchor is the intersection of edge and the bounding box
|
785 | - fix: generate node label according to isNull
|
786 | - feat: viewport parameters -- tl、tc、tr、rc、br、bc、bl、lc、cc
|
787 | - improve: reduce tolerance to improve the accuracy of interception
|
788 | - improve: improve tooltip event mechanisom to enhance performance
|
789 |
|
790 | #### 1.0.3
|
791 |
|
792 | `2017-05-10`
|
793 |
|
794 | - feat: graph.guide().link()
|
795 |
|
796 | #### 1.0.2
|
797 |
|
798 | `2017-05-10`
|
799 |
|
800 | - fix: Object.values => Util.getObjectValues
|
801 | - fix: when anchorPoints is auto, there is only anchorpoint on edge, it will also return the intersection
|
802 | - fix: tree update interface Bug
|
803 | - improve: represent positions information by group.transfrom()
|
804 |
|
805 | #### 1.0.1
|
806 |
|
807 | `2017-04-22`
|
808 |
|
809 | - fix: copy and paste bug
|
810 | - feat: draw once in 16ms
|
811 | - feat: itemactived itemunactived itemhover itemupdate itemmouseenter itemmouseleave
|
812 | - improve: be clear the status of graphics before activating graphics by frame selection
|
813 | - improve: dragAddEdge, linkable to anchor
|
814 | - improve: performance of animation
|
815 |
|
816 | #### 1.0.0
|
817 |
|
818 | `2017-03-31`
|
819 |
|
820 | - feat: fitView configurations
|
821 | - feat: graph.zoom()
|
822 | - feat: wheelZoomHideEdges hide the edges while zooming by wheel
|
823 | - feat: dragHideEdges hide the edge while dragging edge
|
824 | - feat: graph.filterBehaviour()
|
825 | - feat: graph.addBehaviour()
|
826 | - feat: graph.changeLayout()
|
827 | - feat: read interface, re-define save interface
|
828 | - feat: graph.snapshot, graph.downloadImage
|
829 | - feat: graph.autoSize()
|
830 | - feat: graph.focusPoint()
|
831 | - feat: tree graph、net graph
|
832 | - feat: interaction mechanism -- event => action => mode
|
833 | - feat: animation mechanism
|
834 | - feat: itemmouseleave、itemmouseenter
|
835 | - remove: graph.refresh()
|
836 | - remove: graph.changeNodes()
|
837 | - remove: graph attributes -- zoomable、dragable、resizeable、selectable
|
838 | - improve: anchor mechanism
|
839 | - improve: hide G6.GraphUtil functions, unified in G6.Util
|
840 | - improve: replace g-canvas-core to g-canvas to improve performance
|
841 | - improve: Global.nodeAcitveBoxStyle instead of Global.nodeBoxStyle
|
842 | - improve: afterAdd => afteradd
|
843 | - improve: G6.Graph to be an abstract class
|
844 |
|
845 | #### 0.2.3
|
846 |
|
847 | `2017-03-2`
|
848 |
|
849 | - fix: dragable for controlling dragable under default mode
|
850 | - feat: graph.converPoint()
|
851 | - feat: graph.autoSize()
|
852 | - feat: rightmousedown leftmousedown wheeldown
|
853 | - improve: use try catch to prevent the length of getPoint of path equals zero
|
854 |
|
855 | #### 0.2.2
|
856 |
|
857 | `2017-02-24`
|
858 |
|
859 | - fix: add px totooltip css padding
|
860 | - fix: tooltip mapping error
|
861 | - fix: accurate intersection
|
862 | - fix: zoom error on double accuracy screen
|
863 | - fix: buonding box extended from keyShape
|
864 | - feat: afterAdd
|
865 | - feat: dblclick
|
866 | - improve: width、height default null
|
867 | - improve: remove hovershape on node
|
868 | - improve: tooltip defense mechanism
|
869 |
|
870 | #### 0.2.1
|
871 |
|
872 | `2017-02-14`
|
873 |
|
874 | - fix: rollback when add node
|
875 | - fix: apply tranformation of parent container while calculating bounding box
|
876 | - feat: waterPath
|
877 | - feat: tooltip tip information
|
878 | - feat: mouseover
|
879 | - feat: multiSelectable, default false
|
880 | - feat: set forceFit to true while width is undefined
|
881 | - improve: zoomable、dragable、resizeable、selectable default true
|
882 |
|
883 | #### 0.2.0
|
884 |
|
885 | `2017-02-07`
|
886 |
|
887 | - feat: accurate anchor mechanism
|
888 | - feat: GraphUtil.getEllipsePath
|
889 | - feat: GraphUtil.pointsToPolygon
|
890 | - feat: GraphUtil.pointsToBezier
|
891 | - feat: GraphUtil.snapPreciseAnchor
|
892 | - feat: GraphUtil.arrowTo
|
893 | - feat: GraphUtil.drawEdge
|
894 | - feat: bezierQuadratic
|
895 | - feat: node.show
|
896 | - feat: node.hide
|
897 | - feat: node.getLinkNodes
|
898 | - feat: node.getUnLinkNodes
|
899 | - feat: node.getRelativeItems
|
900 | - feat: node.getUnRelativeItems
|
901 | - feat: edge.show
|
902 | - feat: edge.hide
|
903 | - feat: Shape afterDraw
|
904 | - improve: the controlling point positions of Bezier Curve 改进贝塞尔曲线控制点位置
|
905 | - improve: grpah.delete => graph.del
|
906 | - improve: error when adding id
|
907 |
|
908 | #### 0.1.4
|
909 |
|
910 | `2017-01-17`
|
911 |
|
912 | - fix: delegator of dragging a node is the center of bbox
|
913 | - fix: use cardinality sort for all the sorting algorithm
|
914 | - fix: random id on edges
|
915 | - feat: level sort on edges, edge labels on the top level
|
916 | - feat: while extending shape is undefined when register an edge, find the extending shaoe automatically
|
917 |
|
918 | #### 0.1.3
|
919 |
|
920 | `2017-01-15`
|
921 |
|
922 | - fix: judge the existance of the object while operating assistGrid
|
923 | - feat: rollback judgement, default unactivate
|
924 | - feat: style mapping channel
|
925 | - feat: return the intersections while getAnchorPoints is null or returns false
|
926 | - feat: bezierHorizontal、bezierVertical
|
927 | - improve: 'eventEnd'
|
928 |
|
929 | #### 0.1.2
|
930 |
|
931 | `2017-01-12`
|
932 |
|
933 | - fix: judge the configuration before updating grid
|
934 | - fix: the size of graphContainer in unsetable, setted by inner canvas
|
935 | - fix: will not add an edge if the target or source is undefined
|
936 | - fix: changeSize() maximum tolerance for error
|
937 | - feat: graph.get('el') to get canvas DOM
|
938 | - feat: event exposures shape
|
939 |
|
940 | #### 0.1.1
|
941 |
|
942 | `2017-01-09`
|
943 |
|
944 | - feat: entrance of graph is G6.Graph
|
945 |
|
946 | #### 0.1.0
|
947 |
|
948 | `2017-01-07`
|
949 |
|
950 | - feat: color calculation library
|
951 | - feat: hot key
|
952 | - feat: updo, redo
|
953 | - feat: copy, paste
|
954 | - feat: reset zoom, auto zoom
|
955 | - feat: tree graph, linear graph, sankey graph, flow laout
|
956 | - feat: flow chart package
|
957 | - feat: timing diagram package
|
958 | - feat: single selection, frame selection
|
959 | - feat: node deformation
|
960 | - feat: edge deformation
|
961 | - feat: drag node and edge
|
962 | - feat: link edge and node
|
963 | - feat: drag canvas
|
964 | - feat: zoom
|
965 | - feat: select mode
|
966 | - feat: integrate g-graph
|