Commit Graph

48 Commits

Author SHA1 Message Date
Yanyan-Wang
25a3cb41ce fix: emit beforeaddchild and afteraddchild in TreeGraph. closes: #1249. 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
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
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
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
3249f4f6e4 fix: optimize the performance 2020-02-10 10:15:25 +08:00
Yanyan-Wang
bedc7e5b35 update: version number to beta.7 2020-02-07 18:52:42 +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
Yanyan-Wang
e8752d510b fix: registerEdge without update problem. fix: webworker demo problem 2020-01-16 19:15:29 +08:00
baizn
47c7c07796 feat: 图元素类型支持type字段,修改文档部分 2020-01-15 11:34:41 +08:00
Yanyan-Wang
a2235801da fix: add name for built-in shapes. fix: demos problem of the site. fix: export utils 2020-01-15 11:34:03 +08:00
Yanyan-Wang
6284824818 fix: replace @g6 to relative path. fix: global style. fix: return type of graph.node and graph.edge 2020-01-14 21:03:40 +08:00
Yanyan-Wang
f09bcebb17 fix: delete pixelRatio for demos, docs, examples, and tests. add: changelog. add: performance demos. 2020-01-14 14:59:59 +08:00
baizn
523d353ed8 feat: 增加plugins,util,graph的单测 2020-01-13 09:47:41 +08:00
Yanyan-Wang
301d5125a4 feat: layout ts files. test: layout unit tests with satisfying coverage 2020-01-08 18:18:37 +08:00
baizn
b0c4e7a836 feat: add graph & plugin unit test 2020-01-07 16:06:06 +08:00
baizn
11acc5ff15 feat: add graph & plugin unit test 2020-01-07 16:06:06 +08:00
Yanyan-Wang
6164c1607f test: add unit test for collapse-expand behavior of TreeGraph. WIP: wait for solving dragleave and mouseleave events without shape name by G 2020-01-07 15:50:37 +08:00
Yanyan-Wang
25b9d5e888 test: enhance the coverage of behaviors. fix: group behavior bugs. add: test for collapse-expand for treeGraph, not done yet 2020-01-07 15:50:37 +08:00
Yanyan-Wang
581658b75d test: event-spec expect value 2020-01-07 15:50:37 +08:00
Yanyan-Wang
872b25f355 fix: delete all pixelratio, which is calculated by G automatically 2020-01-07 15:50:37 +08:00
Yanyan-Wang
2ad95c83ca fix: label rotate. update: G version 2020-01-07 15:50:37 +08:00
baizn
6fb8115695 refactor plugins and build 2020-01-03 17:31:09 +08:00
baizn
b8ba0e9756 feat: add tree graph unit test 2019-12-27 14:57:07 +08:00
zhanning.bzn
0677a9e090 feat: refactor node-group controller and unit test 2019-12-27 11:49:03 +08:00
zhanning.bzn
70abc2e900 feat: add graph and controller unit test 2019-12-27 11:49:03 +08:00
zhanning.bzn
b8256d7c27 feat: add graph and view controller unit test 2019-12-25 16:42:27 +08:00
zhanning.bzn
ea1427da52 feat: add event and item controller unit test 2019-12-25 16:42:27 +08:00
zhanning.bzn
b419ad6c7c fix: refactor behavior 2019-12-18 15:00:35 +08:00
Moyee
c3a7687b47 Merge branch 'dev-3.3' into g6-dev-20191209 2019-12-13 14:56:57 +08:00
zhanning.bzn
646676f8eb feat: refactor event controller and graph 2019-12-13 14:40:57 +08:00
zhanning.bzn
902ae5fccf feat: update graph types and refactor view controller 2019-12-12 21:40:26 +08:00
zhanning.bzn
274b04fed8 feat: update graph types and refactor view controller 2019-12-11 12:18:24 +08:00
zhanning.bzn
945895f426 fix: 类型文件不使用I开头 2019-12-10 20:44:43 +08:00
zhanning.bzn
831c5df4af feat: support use alias import files 2019-12-10 17:54:47 +08:00