Commit Graph

64 Commits

Author SHA1 Message Date
baizn
3208a25ad0 feat: merge support svg code 2020-03-09 22:32:09 +08:00
baizn
2798390ab5 feat: refactor states 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
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