2018-09-27 16:53:33 +08:00
# ChangeLog
2020-04-09 15:58:44 +08:00
2020-09-16 10:47:15 +08:00
#### 3.7.3
- fix: update G to fix the shape disappear when it has been dragged out of the view port problem, closes: #2078 , #2030 , #2007 ;
- fix: redo undo with treeGraph problem;
- fix: remove item with itemType problem, closes: #2096 .
2020-09-08 22:25:40 +08:00
#### 3.7.2
- fix: toolbar redo undo addItem with type problem, closes #2043 ;
- fix: optimized drag-canvas with hidden items;
- fix: state style with 0 value problem, closes: #2039 ;
- fix: layout with webworker leads to twice beforelayout, closes: #2052 ;
2020-09-09 16:59:03 +08:00
- fix: context menu with sibling doms of graph container leads to position problem, closes: #2053 ;
2020-09-10 14:45:06 +08:00
- fix: changeData with combos problem, closes: #2064 ;
2020-09-14 12:05:58 +08:00
- fix: improve the position of the context menu before showing up;
2020-09-08 22:25:40 +08:00
- feat: fisheye allows user to config the trigger of scaling range(r) and magnify factor(d) by scaleRBy and scaleDBy respectively;
- feat: add the percent text of magnify factor(d) for fisheye and users are allowed to configure it by show showDPercent.
2020-08-28 14:11:12 +08:00
#### 3.7.1
2020-09-02 22:43:09 +08:00
- fix: hide the tooltip plugin when drag node and contextmenu, closes #1975 ;
2020-08-28 14:11:12 +08:00
- fix: processParellelEdges without edge id problem;
2020-09-02 22:43:09 +08:00
- fix: label background with left, right position problem, closes #1861 ;
2020-08-28 19:24:06 +08:00
- fix: create-edge and redo undo problem, #1976 ;
- fix: tooltip plugin with shouldBegin problem, closes #2006 ;
2020-08-31 21:47:50 +08:00
- fix: tooltip behavior with shouldBegin problem, closes #2016 ;
2020-08-31 13:08:44 +08:00
- fix: the position of grid plugins when there is something on the top of the canvas, closes: #2012 ;
2020-09-02 12:24:38 +08:00
- fix: fisheye destroy and new problem, closes: #2018 ;
2020-09-03 00:18:00 +08:00
- fix: node event with wrong canvasX and canvasY problem, closes: #2027 ;
2020-09-03 15:15:40 +08:00
- fix: drag combo and drag node to drop on canvas/combo/node problem;
2020-08-31 21:47:50 +08:00
- feat: improve the performance on the combos;
2020-09-02 22:43:09 +08:00
- fix: redo and undo problem when update item after additem, closes #2019 ;
- feat: hide shapes beside keyShape while zooming;
- feat: improve the performance on the combos.
2020-08-28 14:11:12 +08:00
2020-08-24 20:29:43 +08:00
#### 3.7.0
- feat: chart node;
- feat: bubble set;
2020-08-25 10:26:03 +08:00
- feat: custom node with JSX;
2020-08-24 20:29:43 +08:00
- feat: minimum spanning tree algorithm;
- feat: path finding algorithm;
- feat: cycle finding algorithm;
- chore: update antv/hierarchy to fix indented tree with dropCap problem.
2020-08-17 18:58:16 +08:00
#### 3.6.2
2020-08-18 16:17:30 +08:00
- feat: find all paths and the shortest path between two nodes;
2020-08-18 15:08:47 +08:00
- feat: fisheye with dragging;
- feat: fisheye with scaling range and d;
2020-08-19 22:00:38 +08:00
- feat: click and drag to create an edge by create-edge behavior;
- feat: process multiple parallel edges to quadratic with proper curveOffset;
2020-08-18 16:17:30 +08:00
- fix: polyline with rect and radius=0 problem;
- fix: arrow state & linkpoint;
2020-08-19 11:32:31 +08:00
- fix: the position of the tooltip plugin;
2020-08-21 17:48:26 +08:00
- fix: drop a node onto a sub node of a combo;
2020-08-18 16:17:30 +08:00
- chore: update hierarchy to solve the children ordering problem for indented tree layout;
2020-08-18 15:08:47 +08:00
- chore: extract the public calculation to enhance the performance of fisheye.
2020-08-17 18:58:16 +08:00
2020-08-14 13:45:29 +08:00
#### 3.6.1-beta
2020-08-17 16:59:21 +08:00
2020-08-14 13:45:29 +08:00
- chore: update g-canvas to support quickHit and pruning the rendering of the graph outside the viewport;
- feat: add statistical chart nodes;
- feat: add hull for create smooth contour to include specific items;
- fix: clear combos before render;
- fix: menu plugin with clickHandler problem.
2020-08-10 10:52:27 +08:00
#### 3.6.1
2020-08-17 14:51:02 +08:00
2020-08-10 10:52:27 +08:00
- feat: image minimap;
- feat: visible can be controlled in the data;
- feat: item type for tooltip plugin;
- feat: menu plugin with shouldUpdate;
- fix: tooltip plugin position and hidden by removeItem;
- fix: tooltip behavior hidden by removeItem;
- fix: menu plugin with clicking on canvas problem;
2020-08-10 11:14:38 +08:00
- fix: menu plugin with clickHandler problem;
- fix: createCombo with double nodes problem.
2020-08-10 10:52:27 +08:00
2020-07-27 15:00:39 +08:00
#### 3.6.0
2020-08-17 14:51:02 +08:00
2020-07-27 15:00:39 +08:00
- feat: fisheye lens plugin;
2020-07-27 17:21:20 +08:00
- feat: lasso-select behavior;
- feat: TimeBar plugin;
- feat: ToolBar plugin.
2020-07-24 20:01:35 +08:00
2020-07-23 14:35:39 +08:00
#### 3.5.12
2020-08-17 14:51:02 +08:00
2020-07-23 14:35:39 +08:00
- fix: node:click is triggered twice while clicking a node;
2020-07-23 17:25:04 +08:00
- fix: update combo edge when drag node out of it problem;
2020-07-23 22:27:25 +08:00
- feat: animate configuration for combo, true by default;
2020-08-17 14:51:02 +08:00
- fix: calling canvas.on('\*', ...) instead of origin way in event controller leads to malposition while dragging nodes with zoomed graph.
2020-07-23 14:35:39 +08:00
2020-07-13 20:23:44 +08:00
#### 3.5.11
2020-08-17 14:51:02 +08:00
2020-07-13 20:23:44 +08:00
- feat: graph.priorityState api;
- feat: graph.on support name:event mode.
2020-07-21 18:52:16 +08:00
- fix: combo edge with uncorrect end points;
- fix: combo polyline edge with wrong path;
2020-07-21 18:55:02 +08:00
- fix: getViewCenter with padding problem;
2020-07-21 19:48:56 +08:00
- fix: cannot read property 'getModel' of null problem on contextmenu when the target is not an item;
2020-07-22 12:07:36 +08:00
- feat: allow user to configure the initial positions for empty combos;
- feat: optimize by hiding edges and shapes which are not keyShape while dragging canvas;
- feat: fix the initial positions by equably distributing for layout to produce similar result.
2020-07-13 20:23:44 +08:00
2020-06-30 16:29:13 +08:00
#### 3.5.10
2020-08-17 14:51:02 +08:00
2020-07-01 11:41:57 +08:00
- fix: fitView and fitCenter with animate in the initial state;
2020-07-02 14:30:56 +08:00
- fix: dulplicated edges in nodeselectchange event of brush-select;
2020-07-02 15:23:07 +08:00
- fix: triple click and drag canvas problem;
- fix: sync the minZoom and maxZoom in drag-canvas and graph;
2020-07-06 10:41:23 +08:00
- fix: integrate getSourceNeighbors and getTargetNeighbors to getNeighbors(node, type);
2020-07-03 16:22:52 +08:00
- feat: initial x and y for combo data;
- feat: dagre layout supports sortByCombo;
2020-07-06 10:41:23 +08:00
- feat: allow user to disable relayout in collapse-expand-combo behavior;
- feat: dijkstra shortest path lenght algorithm.
2020-06-30 16:29:13 +08:00
2020-06-29 19:37:44 +08:00
#### 3.5.9
2020-08-17 14:51:02 +08:00
2020-06-29 19:37:44 +08:00
- fix: multiple animate update shape for combo;
- fix: removeItem from a combo.
2020-06-23 20:15:53 +08:00
#### 3.5.8
2020-08-17 14:51:02 +08:00
2020-06-23 20:15:53 +08:00
- fix: combo edge problem, issues #1722 ;
- feat: adjacency matrix algorithm;
- feat: Floyd Warshall shortest path algorithm;
- feat: built-in arrows;
- feat: built-in markers;
2020-06-28 11:17:36 +08:00
- fix: force layout with addItem and relayout;
2020-06-29 10:21:46 +08:00
- fix: create combo with parentId problem;
- feat: allow user to configure the pixelRatio for Canvas;
- chore: update G to resolve the blur canvas problem.
2020-06-23 20:15:53 +08:00
2020-06-19 14:58:47 +08:00
#### 3.5.7
2020-08-17 14:51:02 +08:00
2020-06-19 16:46:09 +08:00
- feat: shouldBegin for click-select behavior;
2020-06-19 17:19:30 +08:00
- feat: graph.getGroup, graph.getContainer, graph.getMinZoom, graph.setMinZoom, graph.getMaxZoom, graph.setMaxZoom, graph.getWidth, graph.getHeight API;
2020-06-19 16:46:09 +08:00
- fix: combo edge dashLine attribute;
- fix: combo collapse and expand with edges problem;
2020-06-22 11:13:13 +08:00
- fix: destroy the tooltip DOMs when destroy the graph;
2020-06-22 11:53:56 +08:00
- fix: unify the shape names for custom node and extended node;
- fix: update the edges after first render with collapsed combos.
2020-06-19 14:58:47 +08:00
2020-06-16 16:43:02 +08:00
#### 3.5.6
2020-08-17 14:51:02 +08:00
2020-09-01 18:43:11 +08:00
- feat: dropCap for indented TreeGraph layout.
2020-06-16 16:43:02 +08:00
2020-06-15 11:07:32 +08:00
#### 3.5.5
2020-08-17 14:51:02 +08:00
2020-06-15 11:25:25 +08:00
- fix: custom node with setState problem;
- fix: validationCombo in drag-combo and drag-node.
2020-06-15 11:07:32 +08:00
2020-06-09 13:55:44 +08:00
#### 3.5.3
2020-08-17 14:51:02 +08:00
2020-06-09 13:55:44 +08:00
- feat: focusItem with animation;
2020-06-10 14:43:42 +08:00
- feat: generate the image url of the full graph by graph.toFullDataUrl;
2020-06-09 13:55:44 +08:00
- fix: graph dispears after being dragged out of the canvas and back;
- fix: the graph cannot be dragged back if it is already out of the view;
- fix: size and radius of the linkPoints problem;
- fix: combo graph with unused state name in comboStateStyles;
- fix: preventDefault in drag-canvas behavior.
2020-06-03 14:50:30 +08:00
#### 3.5.2
2020-08-17 14:51:02 +08:00
2020-06-04 19:49:24 +08:00
- feat: degree algorithm;
- feat: graph.getNodeDegree;
- fix: downloadFullImage changes the matrix of the graph problem;
- fix: circular layout modifies the origin data with infinite hierarchy problem.
2020-06-03 14:50:30 +08:00
2020-06-01 13:41:38 +08:00
#### 3.5.1
2020-08-17 14:51:02 +08:00
2020-06-01 16:55:53 +08:00
- feat: graph.fitCenter to align the graph center to canvas center;
2020-06-01 13:41:38 +08:00
- fix: getType is not a function error occurs when addItem with point;
- fix: checking comboTrees avaiability;
2020-06-01 15:13:33 +08:00
- fix: error occurs when createCombo into the graph without any combos;
- fix: endPoint and startPoint are missing in modelConfig type;
2020-06-02 15:01:57 +08:00
- fix: edge background leads to empty canvas when the autoRotate is false;
- fix: combo state style bug.
2020-06-01 13:41:38 +08:00
2020-05-18 20:58:16 +08:00
#### 3.5.0
2020-08-17 14:51:02 +08:00
2020-05-18 20:58:16 +08:00
- feat: combo and combo layout;
2020-06-01 13:41:38 +08:00
- feat: graph algorithms: DFS, BFS and circle detection;
- feat: add `getNeighbors` , `getSourceNeighbors` , `getTargetNeighbors` methods on Graph and Node;
2020-05-21 11:22:07 +08:00
- feat: add `getID` method on Item;
- fix: All Configuration type declarations are migrated to types folder, refer [here ](https://github.com/antvis/G6/commit/3691cb51264df8529f75222147ac3f248b71f2f6?diff=unified#diff-76cf0eb5e3d8032945f1ac79ffc5e815R6 );
2020-05-21 13:44:37 +08:00
- fix: Some configuration type declarations have removed the `I` prefix, refer [here ](https://github.com/antvis/G6/commit/3691cb51264df8529f75222147ac3f248b71f2f6?diff=unified#diff-aa582974831cee2972b8c96cfcce503aR16 );
- feat: Util.getLetterWidth and Util.getTextSize.
2020-05-18 20:58:16 +08:00
2020-05-11 13:33:48 +08:00
#### 3.4.10
2020-08-17 14:51:02 +08:00
2020-05-11 13:33:48 +08:00
- fix: TreeGraphData type with style and stateStyles;
- fix: wrong controlpoint position for bezier curves with getControlPoint.
2020-05-07 18:29:29 +08:00
#### 3.4.9
2020-08-17 14:51:02 +08:00
2020-05-07 18:29:29 +08:00
- fix: transplie d3-force to support IE11.
2020-04-27 20:32:07 +08:00
#### 3.4.8
2020-08-17 14:51:02 +08:00
2020-04-27 20:32:07 +08:00
- feat: update the keyShape type minimap when the node or edge's style is updated;
- fix: problem about switching to another applications or browser menu and then switch back, the drag-canvas does not take effect;
- 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;
- fix: curveOffset for arc, quadratic, cubic edge.
2020-04-17 10:07:46 +08:00
#### 3.4.7
2020-08-17 14:51:02 +08:00
2020-04-15 14:47:05 +08:00
- feat: downloadFullImage when the (part of) graph is out of the screen;
2020-04-15 23:27:43 +08:00
- 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;
- feat: allow user to assign curveOffset and curvePostion for Bezier curves;
2020-04-15 14:47:05 +08:00
- fix: moveTo wrong logic problem;
2020-04-16 15:43:23 +08:00
- fix: removeItem to update the minimap.
2020-04-15 14:47:05 +08:00
2020-04-17 10:07:46 +08:00
#### 3.4.6
2020-08-17 14:51:02 +08:00
2020-04-17 10:07:46 +08:00
- same as 3.4.5, published wrongly.
2020-04-09 15:58:44 +08:00
#### 3.4.5
2020-04-13 10:57:50 +08:00
- feat: background of the label on node or edge;
2020-04-13 10:48:10 +08:00
- feat: better performance of minimap;
- fix: minimap viewport displace problem;
2020-04-13 10:57:50 +08:00
- feat: offset of tooltip;
2020-04-13 10:48:10 +08:00
- fix: the length of the node's name affects the tree layout;
- fix: toFront does not work for svg renderer;
- fix: error occurs when the fontSize is smaller than 12 with svg renderer;
- fix: changeData clears states;
- fix: state does not work when default labelCfg is not assigned.
2020-04-09 15:58:44 +08:00
2020-03-30 15:02:01 +08:00
#### 3.4.4
2020-04-09 15:58:44 +08:00
2020-03-30 15:02:01 +08:00
- feat: background color for downloadImage and toDataURL;
- feat: support configure image for grid plugin;
- fix: initial position for fruchterman layout;
- refactor: clip for image node.
2020-03-31 15:30:05 +08:00
- fix: cubic with only one controlPoint error;
- fix: polyline without L attributes.
2020-03-30 15:02:01 +08:00
2020-03-25 11:25:28 +08:00
#### 3.4.3
2020-04-09 15:58:44 +08:00
2020-03-30 15:02:01 +08:00
- fix: support extends BehaviorOption;
2020-03-25 11:25:28 +08:00
- fix: click-select Behavior support multiple selection using ctrl key.
2020-03-19 16:58:20 +08:00
#### 3.4.2
2020-04-09 15:58:44 +08:00
2020-03-20 19:59:34 +08:00
- feat: zoom-canvas behavior supports hiding non-keyshape elements when scaling canvas;
- refactor: when the second parameter is null, clearItemStates will clear all states of the item;
2020-06-19 18:10:09 +08:00
- fix: [changeData bug ](https://github.com/antvis/G6/issues/1323 );
2020-03-20 19:59:34 +08:00
- fix: update antv/hierarchy to fix fixedRoot for TreeGraph;
- fix: problem of a graph has multiple polyline edges;
- fix: problem of dagre with controlPoints and loop edges.
2020-03-19 16:58:20 +08:00
2020-03-17 16:36:45 +08:00
#### 3.4.1
2020-04-09 15:58:44 +08:00
2020-03-17 16:36:45 +08:00
- feat: force layout clone original data model to allow the customized properties;
- fix: BehaviorOptions type error;
- fix: fitView the graph with data whose nodes and edges are empty arrays;
- fix: rect node positions are changed after calling graph.changeData;
2020-03-18 19:16:10 +08:00
- fix: drag behavior is disabled when the keys are released invalidly;
- refactor: update G and the fill of custom arrow should be assigned by user.
2020-03-17 16:36:45 +08:00
2020-03-10 13:53:18 +08:00
#### 3.4.0
2020-04-09 15:58:44 +08:00
2020-03-10 11:56:05 +08:00
- feat: SVG renderer;
2020-03-20 19:59:34 +08:00
- refactor: new state mechanism with multiple values, sub graphics shape style settings.
2020-03-10 11:56:05 +08:00
2020-03-05 19:53:14 +08:00
#### 3.3.7
2020-04-09 15:58:44 +08:00
2020-03-05 19:53:14 +08:00
- feat: beforeaddchild and afteraddchild emit for TreeGraph;
- feat: built-in nodes' labels can be captured;
- fix: drag shadow caused by localRefresh, update the g-canvas version;
- fix: abnormal polyline bendding;
- fix: collapse-expand trigger problem;
- fix: update nodes with empty string label;
2020-03-05 20:05:34 +08:00
- fix: abnormal rendering when a graph has image nodes and other type nodes.
2020-03-05 19:53:14 +08:00
2020-02-21 23:45:16 +08:00
#### 3.3.6
2020-04-09 15:58:44 +08:00
2020-02-21 23:45:16 +08:00
- feat: support edge weight for dagre layout;
2020-02-25 16:58:39 +08:00
- feat: automatically add draggable to keyShape, users do not need to assign it when custom a node or an edge;
- fix: cannot read 0 or null problem in getPointByCanvas;
2020-02-21 23:45:16 +08:00
- fix: brush-select bug;
- fix: set autoDraw to canvas when graph's setAutoPaint is called;
2020-02-25 16:58:39 +08:00
- fix: modify the usage of bbox in view controller since the interface is chagned by G;
- fix: the shape.attr error in updateShapeStyle;
2020-02-25 19:25:29 +08:00
- fix: local refresh influence on changeData;
2020-02-25 16:58:39 +08:00
- refactor: upgrade g-canvas to 0.3.23 to solve lacking of removeChild function;
- doc: update the demo fo custom behavior doc;
- doc: add plugin demos and cases for site;
2020-02-25 19:25:29 +08:00
- doc: fix shouldUpdate problem in treeWithLargeData demo on the site.
2020-02-21 23:45:16 +08:00
2020-02-19 14:08:06 +08:00
#### 3.3.5
2020-04-09 15:58:44 +08:00
2020-02-19 14:08:06 +08:00
- fix: 3.3.4 is not published successfully;
2020-02-14 10:10:54 +08:00
2020-02-18 23:00:10 +08:00
#### 3.3.4
2020-04-09 15:58:44 +08:00
2020-02-19 14:08:06 +08:00
- fix: 3.3.3 is not published successfully;
2020-02-18 23:00:10 +08:00
- fix: delegate or keyShape type minimap does not display bug;
- fix: dragging bug on minimap with a graph whose bbox is nagtive;
- fix: null matrix bug, create a unit matrix for null.
2020-02-17 22:38:23 +08:00
#### 3.3.3
2020-04-09 15:58:44 +08:00
2020-02-17 22:38:23 +08:00
- fix: delegate or keyShape type minimap does not display bug;
- fix: null matrix in focus() and getLoopCfgs() bug.
2020-02-14 15:33:11 +08:00
#### 3.3.2
- fix: ts type export problem;
- fix: edge with endArrow and autoRotate label bug;
- fix: code prettier;
- fix: line with control points bug;
- fix: matrix null bug.
2020-02-12 21:50:23 +08:00
#### 3.3.1
2020-02-14 10:10:54 +08:00
2020-02-12 21:50:23 +08:00
- fix: resolve 3.3.0 compatibility problem.
2020-02-14 10:10:54 +08:00
2020-02-10 22:09:16 +08:00
#### 3.3.0
2020-02-14 10:10:54 +08:00
2019-12-25 12:19:13 +08:00
- Graph API
2020-01-13 20:36:19 +08:00
- refactor: delete removeEvent function, use off;
- refactor: parameters of Shape animate changed, shape.animate(toAttrs, animateCfg) or shape.animate(onFrame, animateCfg);
- feat: descriptionCfg for modelRect to define the style of description by user;
- feat: update a node from without some shapes to with them, such as linkPoints, label, logo icon and state icon for modelRect;
- feat: the callback paramter of event nodeselectchange is changed to { target, selectedItems, ... };
- feat: support stateStyles in node and edge data;
- feat: calculate pixelRatio by G automatically, user do not need to assign it to graph instance;
- chore: G 4.0
2020-01-16 18:11:35 +08:00
- refactor: refreshLayout of TreeGraph is renamed as layout
2020-02-07 22:05:40 +08:00
- fix: no fan shape in G any more
- feat: recommand to assign name for each shape when addShape
- fix: do not support SVG renderer anymore. no renderer for graph configuration anymore
2020-02-10 18:28:24 +08:00
- refactor: plugins usage is changed into new G6.PluginName()
2020-02-14 10:10:54 +08:00
2020-03-12 16:02:15 +08:00
#### 3.2.7
2020-04-09 15:58:44 +08:00
2020-03-12 16:02:15 +08:00
- feat: supports create the group without nodes in node-group;
- fix: supports destoryed properties and fix issue 1094;
#### 3.2.6
2020-04-09 15:58:44 +08:00
2020-03-12 16:02:15 +08:00
- feat: supports sort the nodes on one circle according to the data ordering or some attribute in radial layout
- fix: grid layout with cols and rows
- 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
#### 3.2.5
2020-04-09 15:58:44 +08:00
2020-03-12 16:02:15 +08:00
- fix: click-select trigger error
- fix: solved position problem for minimap
#### 3.2.4
2020-04-09 15:58:44 +08:00
2020-03-12 16:02:15 +08:00
- fix: typescript compile error
- fix: delete sankey lib
#### 3.2.3
2020-04-09 15:58:44 +08:00
2020-03-12 16:02:15 +08:00
- fix: group position error
- fix: supports not set layout type
2020-02-14 10:10:54 +08:00
#### 3.1.5
- feat: supports g6 types file
- fix: set brush-select trigger param to ctrl not work
- fix: when set fitView to true, drag-group Behavior not get desired positon
2019-10-30 15:25:43 +08:00
#### 3.1.3
2020-02-14 10:10:54 +08:00
- feat: radial layout nonoverlap iterations can be controlled by user
- feat: add lock, unlock and hasLocked function, supports lock and unlock node
- fix: mds with discrete points problem
- fix: fruchterman-group layout title position for rect groups
#### 3.1.2
- feat: default behavior supports configuration trigger mode
- feat: node combining supports configuration title
- fix: update demo state styles
2019-10-15 15:09:40 +08:00
2019-10-11 09:42:12 +08:00
#### 3.1.1
2020-02-14 10:10:54 +08:00
- fix: update node use custom config
- fix: update demo
- feat: default node implement getShapeStyle function
2019-10-11 09:42:12 +08:00
2019-09-30 15:24:05 +08:00
#### 3.1.0
2020-02-14 10:10:54 +08:00
- feat: support for rich layouts: random, radial, mds, circular, fruchterman, force, dagre
- feat: more flexible configuration for shape
- feat: build-in rich default nodes
- feat: cases that provide layout and default nodes
2019-09-30 15:24:05 +08:00
2019-09-12 19:56:39 +08:00
#### 3.0.7-beta.1
2020-02-14 10:10:54 +08:00
2019-09-11 17:37:25 +08:00
`2019-09-11`
2020-02-14 10:10:54 +08:00
- fix: zoom-canvas support IE and Firefox
2019-09-11 17:37:25 +08:00
2019-09-11 14:40:37 +08:00
#### 3.0.6
2020-02-14 10:10:54 +08:00
2019-09-11 14:40:37 +08:00
`2019-09-11`
2020-02-14 10:10:54 +08:00
- fix: group data util function use module.exports
- feat: update @antv/hierarchy version
2019-09-11 14:40:37 +08:00
2019-09-10 17:16:38 +08:00
#### 3.0.5
2020-02-14 10:10:54 +08:00
2019-09-10 17:16:38 +08:00
`2019-09-10`
2020-02-14 10:10:54 +08:00
- feat: support add and remove group
- feat: support collapse and expand group
- feat: add graph api: collapseGroup and expandGroup
2019-09-10 17:16:38 +08:00
#### 3.0.5-beta.12
2020-02-14 10:10:54 +08:00
- feat: add rect group
- feat: add rect group demo
- feat: add chart node
2018-09-17 23:04:04 +08:00
2018-09-27 16:53:33 +08:00
---
2020-02-14 10:10:54 +08:00
2019-09-03 19:46:48 +08:00
#### 3.0.5-beta.10
2020-02-14 10:10:54 +08:00
- feat: add 5 chart node
- feat: collapse-expand tree support click and dblclick by trigger option
- fix: drag group bug fix
2019-09-03 19:46:48 +08:00
#### 3.0.5-beta.9
2020-02-14 10:10:54 +08:00
- feat: support render group
- feat: support drag group, collapse and expand group, drag node in/out group
- feat: add drag-group、collapse-expand-group and drag-node-with-group behavior
- feat: add drag-group and collapse-expand-group demo
- feat: add register list node demo
2019-09-03 19:46:48 +08:00
#### 3.0.5-beta.8
2020-02-14 10:10:54 +08:00
2019-07-19 15:44:52 +08:00
`2019-07-19`
2020-02-14 10:10:54 +08:00
- feat: add five demos
- refactor: update three behaviors
2019-07-19 15:44:52 +08:00
2018-12-24 17:18:09 +08:00
#### 2.2.5
`2018-12-20`
2020-02-14 10:10:54 +08:00
- feat: add saveimage limitRatio
2018-12-24 17:18:09 +08:00
#### 2.2.4
`2018-12-20`
2020-02-14 10:10:54 +08:00
- fix: bug fix
2018-12-24 17:18:09 +08:00
#### 2.2.3
`2018-12-10`
2020-02-14 10:10:54 +08:00
- fix: bug fix
2018-12-24 17:18:09 +08:00
2018-11-30 23:40:31 +08:00
#### 2.2.2
`2018-11-30`
2020-02-14 10:10:54 +08:00
- fix: tree remove guide will not getEdges.closes #521
2018-11-30 23:40:31 +08:00
2018-11-27 14:02:21 +08:00
#### 2.2.1
2018-11-29 11:40:44 +08:00
`2018-11-25`
2020-02-14 10:10:54 +08:00
- fix: Compatible with MOUSEWHEEL
- fix: fadeIn aniamtion
- fix: fix wheelZoom behaviour by removing the deprecated mousewheel event
2018-11-27 14:02:21 +08:00
2018-11-07 19:46:36 +08:00
#### 2.2.0
2018-11-29 11:40:44 +08:00
`2018-11-22`
2020-02-14 10:10:54 +08:00
- fix: Graph read zIndex
- refactor: Animation
2018-11-09 20:56:21 +08:00
2018-11-07 23:41:49 +08:00
#### 2.1.5
2018-11-29 11:40:44 +08:00
`2018-10-26`
2020-02-14 10:10:54 +08:00
- fix: svg pixelRatio bug
- feat: add wheel event
2018-11-07 19:46:36 +08:00
2018-11-01 17:03:22 +08:00
#### 2.1.4
2018-11-29 11:40:44 +08:00
`2018-10-06`
2020-02-14 10:10:54 +08:00
- fix: custom math.sign to compatible with ie browser.Closes #516 .
- fix: legend component from @antv/component
- feat: update svg minimap && fix svg dom event
2018-11-01 17:03:22 +08:00
2018-09-27 16:53:33 +08:00
#### 2.1.3
2018-09-19 15:42:02 +08:00
2018-09-27 16:53:33 +08:00
`2018-09-27`
2018-06-05 23:58:10 +08:00
2020-02-14 10:10:54 +08:00
- feat: add label rotate
- feat: if there is no items the graph box equal canvas size
2018-06-05 23:58:10 +08:00
2018-09-19 15:42:02 +08:00
#### 2.1.2
`2018-09-19`
2020-02-14 10:10:54 +08:00
- fix: dom getShape bug.Closes #472
- fix: template.maxSpanningForest bug
2018-09-19 15:42:02 +08:00
2018-09-17 23:04:04 +08:00
#### 2.1.1
`2018-09-17`
2020-02-14 10:10:54 +08:00
- fix: tool.highlightSubgraph calculate box bug
- fix: plugin.grid.Closes #479
- chore(dev): upgrade babel & torchjs
2018-09-17 23:04:04 +08:00
2018-09-03 14:47:42 +08:00
#### 2.1.0
`2018-09-03`
2020-02-14 10:10:54 +08:00
- feat: svg render
- feat: plugin.layout.forceAtlas2
- feat: plugin.tool.fisheye
- feat: plugin.tool.textDisplay
- feat: plugin.tool.grid
- feat: plugin.template.tableSankey
- feat: plugin.edge.polyline
2018-09-03 14:47:42 +08:00
#### 2.0.5
`2018-07-12`
2020-02-14 10:10:54 +08:00
- improve: add g6 arrow
2018-09-03 14:47:42 +08:00
2018-07-12 21:38:24 +08:00
#### 2.0.4
`2018-07-12`
2020-02-14 10:10:54 +08:00
- feat: layout export group.Closes #355
- feat(plugin): add tool.tooltip. Closes #360 .
- style: change the calling way of forceAtlas2 on template.maxSpanningForest
- fix: origin tree data collapsed is true tree edge visible bug.Closes #357
- fix: remove the forceAtlas.js in template.maxSpanningForest, use forceAtlas from layout.forceAtlas2
- fix: add demos: plugin-fisheye, plugin-forceAtlas2, gallery-graphanalyzer
- fix: add demos: plugin-forceAtlas2, plugin-fisheye
2018-07-12 21:38:24 +08:00
2018-06-29 17:36:27 +08:00
#### 2.0.3
2018-06-13 17:45:33 +08:00
2018-06-29 17:36:27 +08:00
`2018-06-29`
2018-06-13 17:45:33 +08:00
2020-02-14 10:10:54 +08:00
- feat: update g to 3.0.x. Closes #346
- fix: group should use rect intersect box. Close #297
- fix(plugin): dagre edge controlpoints remove start point and end point
- style: remove some annotations
- chore: update torchjs && improve demo name
2018-06-29 17:36:27 +08:00
#### 2.0.2
2018-06-13 17:45:33 +08:00
2018-06-29 17:36:27 +08:00
`2018-06-13`
2018-06-13 17:45:33 +08:00
2020-02-14 10:10:54 +08:00
- chore(plugin): require g6 by src/index
- chore(dev test): remove useless test script
- fix(plugin) minimap destroy Closes #308
- fix(saveImage) saveImage bug
- fix(event): fix dom coord. Closes #305
2018-06-13 17:45:33 +08:00
2018-11-29 11:40:44 +08:00
#### 2.0.1
2018-06-11 11:23:49 +08:00
2018-06-11 16:30:08 +08:00
`2018-06-11`
2020-02-14 10:10:54 +08:00
- fix: reDraw edge after layout
- feat: add quadraticCurve config cpd
- feat: add beforelayout && afterlayout event
- chore: .travis.yml add add Node.js
- chore: .travis.yml cache node_modules
2018-06-11 16:30:08 +08:00
2018-11-29 11:40:44 +08:00
#### 2.0.0
2018-06-11 16:30:08 +08:00
2018-06-11 11:23:49 +08:00
`2018-06-06`
2020-02-14 10:10:54 +08:00
- refactor: refactor architecture && code
2018-06-11 11:23:49 +08:00
2018-11-29 11:40:44 +08:00
#### 1.2.1
2018-06-05 23:58:10 +08:00
2018-06-11 11:23:49 +08:00
`2018-03-15`
2020-02-14 10:10:54 +08:00
- feat: layout interface
2018-06-06 09:56:44 +08:00
2018-11-29 11:40:44 +08:00
#### 1.2.0
2018-06-05 23:58:10 +08:00
2018-06-11 11:23:49 +08:00
`2018-01-15`
2020-02-14 10:10:54 +08:00
- fix: nodeActivedBoxStyle spelling error
- fix: error when deleting a circle
- fix: trigger dragstart while right clicking and moveing
- feat: Unify Layout mechanism
- feat: Plugin mechanism
- feat: Data filter mechanism
- feat: Activated interface
- feat: Action wheelZoomAutoLabel
- feat: configuration of graph -- preciseAnchor
- remove: Global.preciseAnchor
- remove: Layout.Flow、Layout.Force
- improve: html container strategy
2018-11-29 11:40:44 +08:00
#### 1.1.6
2018-06-05 23:58:10 +08:00
2018-06-11 11:23:49 +08:00
`2017-10-15`
2020-02-14 10:10:54 +08:00
- fix: pack problem in layout algorithm
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 1.1.5
2018-06-05 23:58:10 +08:00
2018-06-11 11:23:49 +08:00
`2017-09-15`
2020-02-14 10:10:54 +08:00
- fix: dragCanvas is effective while mousemove, prevent it from affecting click events
- fix: unactivate pick-up in activeRectBox of node
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 1.1.4
2018-06-05 23:58:10 +08:00
`2017-08-15`
2020-02-14 10:10:54 +08:00
- feat: graph.invertPoint()
- feat: third configuration of anchor to support style setting, float style, connection
- feat: item.getGroup()
- feat: events -- afteritemrender、itemremove、itemadd
- feat: behaviourSignal
- improve: mouseWheel is affective after focusing the canvas
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 1.1.3
2018-06-05 23:58:10 +08:00
`2017-08-8`
2020-02-14 10:10:54 +08:00
- feat: Graph configuration -- useNodeSortGroup
- feat: Global.nodeDelegationStyle, Global.edgeDelegationStyle, isolate the delegation of edge and node on graph
- fix: itemremove is triggered before destroying a graph
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 1.1.2
2018-06-05 23:58:10 +08:00
`2017-08-01`
2020-02-14 10:10:54 +08:00
- feat: dragBlankX dragBlankY
2018-11-29 11:40:44 +08:00
#### 1.1.1
2018-06-05 23:58:10 +08:00
`2017-07-18`
2020-02-14 10:10:54 +08:00
- improve: dragNode protect mechanism
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 1.1.0
2018-06-05 23:58:10 +08:00
`2017-07-05`
2020-02-14 10:10:54 +08:00
- feat: HTML node
- feat: mapper support callback function
- feat: Graph interfaces -- updateMatrix、changeSize、showAnchor、hideAnchor、updataNodesPosition
- feat: tool functions -- Util.isNode()、Util.isEdge()
- feat: Shape polyLineFlow
- feat: dragEdgeEndHideAnchor、dragNodeEndHideAnchor、hoverAnchorSetActived、hoverNodeShowAnchor
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 1.0.7
2018-06-05 23:58:10 +08:00
`2017-06-21`
2020-02-14 10:10:54 +08:00
- fix: draw one more time in 16ms after first draw
- improve: add zoom by scroll in edit mode
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 1.0.6
2018-06-05 23:58:10 +08:00
`2017-06-15`
2020-02-14 10:10:54 +08:00
- fix: compatible in chrome in windows. triggering mousemove after first click leads to wrong click event.
- feat: support fix size graphics
- feat: analysis mode
- feat: updateNodesPositon update a set of nodes' position
- improve: change useAnchor to be a configuration of edge
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 1.0.5
2018-06-05 23:58:10 +08:00
`2017-06-01`
2020-02-14 10:10:54 +08:00
- feat: downloadImage support saving with name
- feat: automatically detect tooltip padding
- improve: stop the action while mouse dragging out of the canvas
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 1.0.4
2018-06-05 23:58:10 +08:00
`2017-05-20`
2020-02-14 10:10:54 +08:00
- fix: tree changeData Bug
- fix: when getAnchorPoints returns auto, anchor is the intersection of edge and the bounding box
- fix: generate node label according to isNull
- feat: viewport parameters -- tl、tc、tr、rc、br、bc、bl、lc、cc
- improve: reduce tolerance to improve the accuracy of interception
- improve: improve tooltip event mechanisom to enhance performance
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 1.0.3
2018-06-05 23:58:10 +08:00
`2017-05-10`
2020-02-14 10:10:54 +08:00
- feat: graph.guide().link()
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 1.0.2
2018-06-05 23:58:10 +08:00
`2017-05-10`
2020-02-14 10:10:54 +08:00
- fix: Object.values => Util.getObjectValues
- fix: when anchorPoints is auto, there is only anchorpoint on edge, it will also return the intersection
- fix: tree update interface Bug
- improve: represent positions information by group.transfrom()
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 1.0.1
2018-06-05 23:58:10 +08:00
`2017-04-22`
2020-02-14 10:10:54 +08:00
- fix: copy and paste bug
- feat: draw once in 16ms
- feat: itemactived itemunactived itemhover itemupdate itemmouseenter itemmouseleave
- improve: be clear the status of graphics before activating graphics by frame selection
- improve: dragAddEdge, linkable to anchor
- improve: performance of animation
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 1.0.0
2018-06-05 23:58:10 +08:00
`2017-03-31`
2020-02-14 10:10:54 +08:00
- feat: fitView configurations
- feat: graph.zoom()
- feat: wheelZoomHideEdges hide the edges while zooming by wheel
- feat: dragHideEdges hide the edge while dragging edge
- feat: graph.filterBehaviour()
- feat: graph.addBehaviour()
- feat: graph.changeLayout()
- feat: read interface, re-define save interface
- feat: graph.snapshot, graph.downloadImage
- feat: graph.autoSize()
- feat: graph.focusPoint()
- feat: tree graph、net graph
- feat: interaction mechanism -- event => action => mode
- feat: animation mechanism
- feat: itemmouseleave、itemmouseenter
- remove: graph.refresh()
- remove: graph.changeNodes()
- remove: graph attributes -- zoomable、dragable、resizeable、selectable
- improve: anchor mechanism
- improve: hide G6.GraphUtil functions, unified in G6.Util
- improve: replace g-canvas-core to g-canvas to improve performance
- improve: Global.nodeAcitveBoxStyle instead of Global.nodeBoxStyle
- improve: afterAdd => afteradd
- improve: G6.Graph to be an abstract class
2018-11-29 11:40:44 +08:00
#### 0.2.3
2018-06-05 23:58:10 +08:00
`2017-03-2`
2020-02-14 10:10:54 +08:00
- fix: dragable for controlling dragable under default mode
- feat: graph.converPoint()
- feat: graph.autoSize()
- feat: rightmousedown leftmousedown wheeldown
- improve: use try catch to prevent the length of getPoint of path equals zero
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 0.2.2
2018-06-05 23:58:10 +08:00
`2017-02-24`
2020-02-14 10:10:54 +08:00
- fix: add px totooltip css padding
- fix: tooltip mapping error
- fix: accurate intersection
- fix: zoom error on double accuracy screen
- fix: buonding box extended from keyShape
- feat: afterAdd
- feat: dblclick
- improve: width、height default null
- improve: remove hovershape on node
- improve: tooltip defense mechanism
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 0.2.1
2018-06-05 23:58:10 +08:00
`2017-02-14`
2020-02-14 10:10:54 +08:00
- fix: rollback when add node
- fix: apply tranformation of parent container while calculating bounding box
- feat: waterPath
- feat: tooltip tip information
- feat: mouseover
- feat: multiSelectable, default false
- feat: set forceFit to true while width is undefined
- improve: zoomable、dragable、resizeable、selectable default true
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 0.2.0
2018-06-05 23:58:10 +08:00
`2017-02-07`
2020-02-14 10:10:54 +08:00
- feat: accurate anchor mechanism
- feat: GraphUtil.getEllipsePath
- feat: GraphUtil.pointsToPolygon
- feat: GraphUtil.pointsToBezier
- feat: GraphUtil.snapPreciseAnchor
- feat: GraphUtil.arrowTo
- feat: GraphUtil.drawEdge
- feat: bezierQuadratic
- feat: node.show
- feat: node.hide
- feat: node.getLinkNodes
- feat: node.getUnLinkNodes
- feat: node.getRelativeItems
- feat: node.getUnRelativeItems
- feat: edge.show
- feat: edge.hide
- feat: Shape afterDraw
- improve: the controlling point positions of Bezier Curve 改进贝塞尔曲线控制点位置
- improve: grpah.delete => graph.del
- improve: error when adding id
2018-11-29 11:40:44 +08:00
#### 0.1.4
2018-06-05 23:58:10 +08:00
`2017-01-17`
2020-02-14 10:10:54 +08:00
- fix: delegator of dragging a node is the center of bbox
- fix: use cardinality sort for all the sorting algorithm
- fix: random id on edges
- feat: level sort on edges, edge labels on the top level
- feat: while extending shape is undefined when register an edge, find the extending shaoe automatically
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 0.1.3
2018-06-05 23:58:10 +08:00
`2017-01-15`
2020-02-14 10:10:54 +08:00
- fix: judge the existance of the object while operating assistGrid
- feat: rollback judgement, default unactivate
- feat: style mapping channel
- feat: return the intersections while getAnchorPoints is null or returns false
- feat: bezierHorizontal、bezierVertical
- improve: 'eventEnd'
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 0.1.2
2018-06-05 23:58:10 +08:00
`2017-01-12`
2020-02-14 10:10:54 +08:00
- fix: judge the configuration before updating grid
- fix: the size of graphContainer in unsetable, setted by inner canvas
- fix: will not add an edge if the target or source is undefined
- fix: changeSize() maximum tolerance for error
- feat: graph.get('el') to get canvas DOM
- feat: event exposures shape
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 0.1.1
2018-06-05 23:58:10 +08:00
`2017-01-09`
2020-02-14 10:10:54 +08:00
- feat: entrance of graph is G6.Graph
2018-06-05 23:58:10 +08:00
2018-11-29 11:40:44 +08:00
#### 0.1.0
2018-06-05 23:58:10 +08:00
`2017-01-07`
2020-02-14 10:10:54 +08:00
- feat: color calculation library
- feat: hot key
- feat: updo, redo
- feat: copy, paste
- feat: reset zoom, auto zoom
- feat: tree graph, linear graph, sankey graph, flow laout
- feat: flow chart package
- feat: timing diagram package
- feat: single selection, frame selection
- feat: node deformation
- feat: edge deformation
- feat: drag node and edge
- feat: link edge and node
- feat: drag canvas
- feat: zoom
- feat: select mode
- feat: integrate g-graph