Commit Graph

228 Commits

Author SHA1 Message Date
baizn
527403f767 feat: add drag-combo behavior 2020-05-21 15:24:22 +08:00
baizn
ddfda472bf fix: 调整类型申明 2020-05-21 15:24:22 +08:00
Yanyan-Wang
35a958a549 feat: config the paddings and smallest size for rect and circle. 2020-05-21 15:24:22 +08:00
Yanyan-Wang
23746b0fa0 test: update the test related to combo 2020-05-21 15:24:22 +08:00
Yanyan-Wang
37be486f7b feat: combo shape and test 2020-05-21 15:24:22 +08:00
Yanyan-Wang
d3dba51f59 feat: combo shape 2020-05-21 15:24:22 +08:00
baizn
71076b7355 feat: combo interface 2020-05-21 15:24:22 +08:00
Yanyan-Wang
f1b2dca3b5 chore: gasby version to fix the site problem. fix: graph.translate problem due to new version of G. 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
1498699276 fix: force layout afterlayout event 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
5c71309c27 fix: moveTo wrong logic problem. docs: update version number and CHANGELOG. 2020-04-16 14:45:54 +08:00
Yanyan-Wang
b56c83d3eb feat: downloadFullImage for full graph. 2020-04-16 14:06:22 +08:00
Yanyan-Wang
9fe366bf7f fix: delete unnecessary console.log. test: minimap spec with float numbers online. 2020-04-13 10:31:50 +08:00
baizn
905cc27ce1 fix: changeData clear states & refactor states 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
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
c9503a191b fix: grid zooming leads to empty space problem. 2020-03-30 10:29:40 +08:00
baizn
1c6188f1ee fix: 修复 group 多层级时的bug 2020-03-30 10:24:44 +08:00
ryannz
dd3d3df070 feat: add label background 2020-03-26 00:17:21 +08:00
baizn
024c99a66e fix: getStateStyle & clearItemStates 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
baizn
c43ef7071b feat: support hiding non-keyshape elements when scaling canvas 2020-03-20 16:54:18 +08:00
Yanyan-Wang
06ba0ee634 fix: empty path string when startpoint and endpoint is nan in polyline 2020-03-19 15:43:20 +08:00
baizn
415b6693b2 fix: group bug 2020-03-17 19:04:43 +08:00
Yanyan-Wang
afa6424eb6 docs: graph.on and graph.off API 2020-03-17 17:57:35 +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
Yanyan-Wang
2c07d5a769 fix: changeData with rect node leads to wrong positions. closes: #1301. 2020-03-17 17:57:35 +08:00
Yanyan-Wang
1c61707132 fix: force layout parameter functions cannot read original edge properties. 2020-03-17 17:57:35 +08:00
Yanyan-Wang
73ec73fd7b fix: mouse move error when the data is empty with fitview. closes: #1026. 2020-03-17 17:57:35 +08:00
Yanyan-Wang
895c7c25d4 test: open skipped tests. 2020-03-10 12:19:09 +08:00
Yanyan-Wang
2c15f59eea fix: startpoint and endpoint for edge 2020-03-10 12:19:09 +08:00
Yanyan-Wang
8f21d9e650 test: find start and end point 2020-03-10 12:19:09 +08:00
Yanyan-Wang
442d01b787 test: polyline start and end point 2020-03-10 12:19:09 +08:00
baizn
3208a25ad0 feat: merge support svg code 2020-03-09 22:32:09 +08:00
baizn
acc37d95d9 feat: refactor states 2020-03-09 22:32:09 +08:00
baizn
48cce57ad2 feat: status change 2020-03-09 22:32:09 +08:00
baizn
6c1ae3cca4 feat: update supports all elements 2020-03-09 22:32:09 +08:00
Yanyan-Wang
61fc89c7c0 fix: delete dagre startpoint and endpoint. test: update dagre test. 2020-03-09 22:32:09 +08:00
baizn
1937a22d0e feat: refactor activate-relations behavior 2020-03-09 22:32:09 +08:00
baizn
2798390ab5 feat: refactor states 2020-03-09 22:32:09 +08:00
baizn
6f93c095e8 feat: refactor states 2020-03-09 22:32:09 +08:00
baizn
124f4f1367 feat: status change 2020-03-09 22:32:09 +08:00
Yanyan-Wang
96eefaf412 test: open some test. 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
3b2c907c15 test: avoid the different enviroment results between online and offline. 2020-03-09 18:18:29 +08:00
Yanyan-Wang
57395fc906 test: avoid the different enviroment results between online and offline. 2020-03-09 18:18:29 +08:00
Yanyan-Wang
8433826dfc feat: svg version. 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
2d9c65e30c test: context menu and bundling 2020-03-09 18:18:29 +08:00
Yanyan-Wang
6f7c6f188e test: minimap and bundling 2020-03-09 18:18:29 +08:00
Yanyan-Wang
917ac20179 test: svg minimap test 2020-03-09 18:18:29 +08:00
Yanyan-Wang
938b342f93 feat: svg minimap 2020-03-09 18:18:29 +08:00
Yanyan-Wang
61b173f1a9 feat: svg TreeGraph, behaviors, items. 2020-03-09 18:18:29 +08:00
Yanyan-Wang
adb70e9aec test: behaviors tests for svg 2020-03-09 18:18:29 +08:00
Yanyan-Wang
bd1c410f86 feat: graph support svg 2020-03-09 18:18:29 +08:00
Yanyan-Wang
12f91363d3 test: delete unnecessary .only 2020-03-05 21:31:58 +08:00
Yanyan-Wang
25a3cb41ce fix: emit beforeaddchild and afteraddchild in TreeGraph. closes: #1249. 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
ca86f670e9 fix: polyline auto controlpoints problem. fix: group collapse-expand-group behavior does not response bug. fix: set capture of label for built-in nodes to true. closes: #1265. closes: #1270. closes: #1262. 2020-03-05 21:31:58 +08:00
Yanyan-Wang
881088b560 refactor: delete coveralls 2020-02-25 21:37:39 +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
0612399996 fix: local refresh influence on changeData; fix: brush-select bug; refactor: upgrade g-canvas to 0.3.21 to solve lacking of removeChild function. closes: #1228 2020-02-25 21:37:39 +08:00
Yanyan-Wang
8a439bc2a1 fix: local refresh influence on changeData; fix: brush-select bug; refactor: upgrade g-canvas to 0.3.21 to solve lacking of removeChild function. closes: #1228 2020-02-25 21:37:39 +08:00
Yanyan-Wang
683a3ac746 fix: enhance coverage 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
vellengs
239cafac1c Update graph-spec.ts 2020-02-17 22:50:45 +08:00
vellengs
349b617e7e Update graph-spec.ts 2020-02-17 22:50:45 +08:00
xieyunqi
da5a70829c fix:wrong spell and eslint 2020-02-17 22:50:45 +08:00
Yanyan-Wang
0a7251530d fix: enhance coverage 2020-02-14 18:01:36 +08:00
Yanyan-Wang
875781c3d4 fix: delete unnecessary import 2020-02-14 14:22:58 +08:00
Yanyan-Wang
473699fa3a fix: edge label auto rotate with endArrow bug. test: edge label auto rotate with zooming and moving 2020-02-14 14:22:58 +08:00
chenshuai2144
d8f5fe7d9b chore: prettier all code 2020-02-14 11:30:12 +08:00
Yanyan-Wang
9410e27d38 fix: enhance the coverage 2020-02-13 18:10:26 +08:00
Yanyan-Wang
f940b2496d fix: enhance the coverage 2020-02-13 18:10:26 +08:00
vellengs
f416d81de7 Update mode-spec.ts 2020-02-13 14:46:48 +08:00
vellengs
a760197fa9 Update mode-spec.ts 2020-02-13 14:46:48 +08:00
Yanyan-Wang
237049fb55 test: enhance the coverage 2020-02-12 21:44:55 +08:00
Yanyan-Wang
bf12dbcd99 test: enhance the coverage 2020-02-12 21:44:55 +08:00
Yanyan-Wang
ecd7505872 fix: moveTo bug. fix: site buttons closes: #1210 2020-02-12 21:44:55 +08:00
Yanyan-Wang
ba086f375f fix: compatibility for G6 3.3 2020-02-12 09:43:00 +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
d49a7feedc fix: update g to new view and deal with canvas draggable. fix: readable for fruchterman from pr #1166 2020-02-10 20:35:03 +08:00
baizn
6d2b08cf74 fix: refactor TS eslint 2020-02-10 14:06:49 +08:00
Yanyan-Wang
3249f4f6e4 fix: optimize the performance 2020-02-10 10:15:25 +08:00
Yanyan-Wang
18588febcc feat: site for G 3.3 2020-02-10 10:11:14 +08:00
Yanyan-Wang
f095a89696 test: plugin import in tests 2020-02-07 20:18:29 +08:00
Yanyan-Wang
4312e556e0 fix: import g6 for webworker in circular-web-worker-spec 2020-02-07 18:52:42 +08:00
Yanyan-Wang
4161634f62 fix: import G6.min in test problem 2020-02-07 18:52:42 +08:00
Yanyan-Wang
bedc7e5b35 update: version number to beta.7 2020-02-07 18:52:42 +08:00
Yanyan-Wang
8d59571693 fix: webworker postMessage parameter ts type in force layout 2020-02-07 12:11:28 +08:00
Yanyan-Wang
8a3db1d234 fix: temporally set the second parameter for postMessage to be undefined in force layout with webworker 2020-02-07 12:11:28 +08:00
Yanyan-Wang
93946287d4 fix: brush-select bug 2020-02-05 14:21:30 +08:00
baizn
f304d8ae74 feat: update g version 2020-01-16 20:40:33 +08:00
baizn
09cd421da0 fix: update types path 2020-01-16 20:14:41 +08:00
baizn
6798713bed fix: move types file path 2020-01-16 20:14:41 +08:00
baizn
07011b68c5 fix: 修复contextmenu 和 packages 2020-01-16 20:14:41 +08:00
Yanyan-Wang
bab3339a14 fix: render problem of custom node card demo. refactor: use type instead of shape to define the graphics type of a node or edge 2020-01-16 19:15:29 +08:00