Commit Graph

62 Commits

Author SHA1 Message Date
Yanyan-Wang
6f8e5877df feat: combo when graph.save. feat: uncombo. feat: remove combo. feat: focus combo. feat: update combo. 2020-05-21 15:24:22 +08:00
Yanyan-Wang
99100adb80 feat: combo controller 2020-05-21 15:24:22 +08:00
Yanyan-Wang
9e3d5bca83 test: re-run online ci. 2020-05-21 14:30:26 +08:00
Yanyan-Wang
ed2c8334d3 test: re-run online ci. 2020-05-21 14:30:26 +08:00
Yanyan-Wang
2ce92d6287 fix: TreeGraphData type with style and stateStyles. 2020-05-15 11:08:33 +08:00
Yanyan-Wang
1cf0e06826 docs: update the addChild and addItem to explain that the model will be used directly and might be modified. closes: #1550. 2020-05-15 11:08:33 +08:00
Yanyan-Wang
2907ad9c5c fix: getControlPoint with wrong controlpoints problem. docs: fix the collapsed expand symbol in customTree demo of the site. 2020-05-15 11:08:33 +08:00
Yanyan-Wang
818b153384 fix: curveOffset for arc, quadratic, cubic edge. 2020-04-28 10:40:20 +08:00
Yanyan-Wang
9474111196 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 2020-04-28 10:40:20 +08:00
Yanyan-Wang
cbaabb3cd9 fix: problem about switching to another applications or browser menu and then switch back, the drag-canvas does not take effect. 2020-04-28 10:40:20 +08:00
Yanyan-Wang
8a85317705 test: tutorial data fetching in demo. 2020-04-22 10:57:05 +08:00
baizn
d5e5fce5de fix: 修复数据ID 2020-04-21 16:28:06 +08:00
Yanyan-Wang
eb76f84315 fix: state change to update the minimap in default and keyShape mode 2020-04-21 16:18:01 +08:00
baizn
bd88580575 fix: 修复数据问题 2020-04-21 13:34:02 +08:00
Yanyan-Wang
d575b96d48 fix: delete a data in stories. 2020-04-21 11:16:48 +08:00
Yanyan-Wang
49faf851cc fix: removeItem to update the minimap. 2020-04-16 15:59:51 +08:00
Yanyan-Wang
5c71309c27 fix: moveTo wrong logic problem. docs: update version number and CHANGELOG. 2020-04-16 14:45:54 +08:00
Yanyan-Wang
2d117dbad7 feat: no layout and no positions, changeData into a data with positions, show the node with positions in data. 2020-04-16 14:45:39 +08:00
Yanyan-Wang
a0360e08e8 feat: allow user to set curveOffset and curvePosition for bezier curves. 2020-04-16 14:45:39 +08:00
Yanyan-Wang
f69c574270 fix: relayout after addItem. feat: curveOffset and curvePosition for bezier curves in first stage 2020-04-16 14:45:39 +08:00
Yanyan-Wang
0a24ed36d7 docs: update the docs for dom listner. 2020-04-14 18:29:00 +08:00
baizn
7e3519c0ec fix: update typing file & tree demo 2020-04-13 10:31:50 +08:00
Yanyan-Wang
399e730165 fix: minimap viewport displace problem. feat: better performance of minimap. 2020-04-10 22:10:16 +08:00
baizn
e2ca266e28 feat: support set the background of the label 2020-04-09 19:20:52 +08:00
ryannz
a1683f3aa8 Merge branch 'master' into feat/add-text-bg 2020-03-31 20:21:14 +08:00
Yanyan-Wang
152b4dedb3 fix: cubic with only one controlPoint error. fix: polyline without L attribute error. 2020-03-31 15:58:19 +08:00
Yanyan-Wang
6dddb7e6be refactor: clip for image. docs: update CHANGELOG 2020-03-31 15:18:23 +08:00
Yanyan-Wang
316be7b62f feat: background color for downloadImage and toDataURL. fix: initial position for fruchterman layout. docs: update downloadImage and toDataURL docs. 2020-03-31 15:18:23 +08:00
Yanyan-Wang
c9503a191b fix: grid zooming leads to empty space problem. 2020-03-30 10:29:40 +08:00
Yanyan-Wang
0d6c8cceee feat: allow user define the grid img for grid plugin. fix: grid fills the canvas after graph changeSize. 2020-03-30 10:29:40 +08:00
ryannz
dd3d3df070 feat: add label background 2020-03-26 00:17:21 +08:00
Yanyan-Wang
a6ac63f849 fix: dagre with controlPoints and loop edges. closes: #1328. 2020-03-20 19:45:49 +08:00
Yanyan-Wang
47d7d18c03 fix: polyline with multiple nodes. closes: #1329. 2020-03-20 19:45:49 +08:00
baizn
1154a26354 fix: 修复直接使用attr修改文本属性的问题 2020-03-20 16:54:18 +08:00
baizn
50844edf25 feat: support hiding non-keyshape elements when scaling canvas 2020-03-20 16:54:18 +08:00
Yanyan-Wang
44baf9cd8a fix: clone exceed maximum stack problem. docs: custom endArrow and startArrow for demos and docs. 2020-03-18 19:33:39 +08:00
Yanyan-Wang
a0fec0e646 fix: switch to other tabs and than go back to the graph, drag behavior does not take effect anymore. closes: #1148. closes: #1244. 2020-03-17 17:57:35 +08:00
baizn
124f4f1367 feat: status change 2020-03-09 22:32:09 +08:00
Yanyan-Wang
f3675a1af9 fix: resolve conflict. 2020-03-09 18:18:29 +08:00
Yanyan-Wang
4c1cc5227f fix: update g-svg to solve some todo tests. 2020-03-09 18:18:29 +08:00
Yanyan-Wang
1a3d38ef0a test: svg custom group 2020-03-09 18:18:29 +08:00
Yanyan-Wang
c19fdd3f8e fix: drag shadow caused by localRefresh. 2020-03-05 21:31:58 +08:00
Yanyan-Wang
2b37a1615f fix: rendering error when a graph has image nodes and other type nodes. closes: #1271. 2020-03-05 21:31:58 +08:00
Yanyan-Wang
36c523381c feat: automatically add draggable to keyShape, users do not need to assign it when custom a node or an edge; fix: cannot read 0 of null problem in getPointByCanvas; fix: the shape.attr error in updateShapeStyle; fix: modify the usage of bbox in view controller since the interface is changed by G; fix: brush-select bug; fix: update G version to solve lacking of removeChild problem. fix: local rendering residual when changeData is called. doc: update the demo of custom behavior doc. doc: add plugin demos and cases for site. closes: #1250; 2020-02-25 21:37:39 +08:00
Yanyan-Wang
08a12516e2 fix: dragging bug on minimap with a graph whose bbox is nagtive; fix: null matrix bug, create a unit matrix for null. fix: delete unnecessary console.log 2020-02-19 10:45:34 +08:00
Yanyan-Wang
c0c449bb35 fix: minimap delegate and keyShape bug. fix: null matrix of getLoopCfgs. 2020-02-17 22:53:31 +08:00
Yanyan-Wang
9212710dc7 fix: minimap small view bug 2020-02-17 22:53:31 +08:00
chenshuai2144
d8f5fe7d9b chore: prettier all code 2020-02-14 11:30:12 +08:00
Yanyan-Wang
5f0c12ed6e add: tutorial demo to stories. fix: flow demo problem in stories 2020-02-10 20:35:03 +08:00
Yanyan-Wang
3249f4f6e4 fix: optimize the performance 2020-02-10 10:15:25 +08:00