Commit Graph

192 Commits

Author SHA1 Message Date
shiwu
40e9626914 fix: revert clustering for force layout pull request from community; fix: update the typings for G6Event; docs: update the event api docs 2020-10-27 12:32:48 +08:00
shiwu
242197ef27 fix: tooltip plugin, crossing different shape cant execute the getContent function, closes: #2153 2020-10-26 15:08:06 +08:00
baizn
c802409f22 fix: zoom-canvas support mobile 2020-10-22 14:31:18 +08:00
baizn
3a7dd04ed1 fix: update edge state with updateItem 2020-10-10 17:20:28 +08:00
Dominic Ming
581f7c8637 feat: jsx node extend config support and next style (#2092)
* feat: register node from xml string or xml string genrator

* feat: add register xml node to interface and stroy book

* fix: merge register to node & basic props back to shape options

* fix: delete unused static function on shape

* feat: xml node update when setState

* feat: simple template renderer on xml

* feat: simple template renderer on xml

* fix: xml node update state style error

* chore: remove lodash dependency

* fix: remove xml html node after compile

* feat: support loose json and object wrapped with {{ }}

* feat: add test for new xml parser

* feat: using style from cfg into xml node

* feat: using style from cfg into xml node

* fix: node style not rollback with the style

* fix: remove unused var

* feat: xml node using single-node setState methods

* feat: register node from xml string or xml string genrator

* feat: add register xml node to interface and stroy book

* fix: merge register to node & basic props back to shape options

* fix: delete unused static function on shape

* feat: xml node update when setState

* feat: simple template renderer on xml

* feat: simple template renderer on xml

* fix: xml node update state style error

* chore: remove lodash dependency

* fix: remove xml html node after compile

* feat: support loose json and object wrapped with {{ }}

* feat: add test for new xml parser

* feat: using style from cfg into xml node

* fix: xml node state style not correct (#1916)

* feat: using style from cfg into xml node

* fix: node style not rollback with the style

* fix: remove unused var

* feat: xml node using single-node setState methods

* fix: update & state

* fix: {{}} replace bug and only keyshape inherit origin attrs

* lint: fix line problem in xml

* fix: xml node parse error and origin style only used on keyshape (#1942)

* feat: using style from cfg into xml node

* fix: node style not rollback with the style

* fix: remove unused var

* feat: xml node using single-node setState methods

* fix: {{}} replace bug and only keyshape inherit origin attrs

* lint: fix line problem in xml

* fix: test xml node

* fix: fix image node problem

* doc: add xml node examples

* feat: add jsx key for node extend

* feat: add next key to keep shape display inline

* fix: xml json parse bug cause boolean not supported

* fix: lint problem

* fix: coveage fix

Co-authored-by: Moyee <576375879@qq.com>
2020-09-24 11:16:31 +08:00
baizn
c944186cab feat: add timebar examples 2020-09-24 11:08:10 +08:00
Yanyan-Wang
bae49036b1 feat: play the slice type time bar. 2020-09-24 11:08:10 +08:00
baizn
486c8cedc5 feat: slice timebar add play button 2020-09-24 11:08:10 +08:00
Yanyan-Wang
9e03a2d359 feat: slice type timebar and tooltp for timebar. 2020-09-24 11:08:10 +08:00
baizn
426d07e92a feat: add trend teimebar component 2020-09-24 11:08:10 +08:00
chenluli
d0d9228763 feat: modify polyline path-finder alogrithm 2020-09-21 14:08:35 +08:00
Yanyan-Wang
e649582d1b feat: edge filter lens. 2020-09-18 20:58:57 +08:00
Yanyan-Wang
dd4f791897 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-16 11:28:29 +08:00
Yanyan-Wang
fbed0d2112 fix: changeData with combos problem, closes: #2064 2020-09-14 10:59:09 +08:00
Yanyan-Wang
9b2bd0a429 test: improve the coverage. fix: context menu with sibling doms of graph container leads to position problem, closes: #2053 2020-09-14 10:59:09 +08:00
Yanyan-Wang
d0abdcb2a2 docs: update demo 2020-09-14 10:59:09 +08:00
Yanyan-Wang
0b87f16f45 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; 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.fix: layout with webworker leads to twice beforelayout, closes: #2052. 2020-09-14 10:59:09 +08:00
Yanyan-Wang
477ae24dba fix: drag combo and drag node to drop on canvas/combo/node problem; 2020-09-03 16:53:32 +08:00
Yanyan-Wang
154cdeae3e fix: redo and undo problem when update item after additem, closes #2019 2020-09-03 16:53:32 +08:00
baizn
343e7658f0 fix: redo & undo state 2020-09-03 16:53:32 +08:00
Yanyan-Wang
0f08aac908 fix: the position of grid plugins when there is something on the top of the canvas, closes: #2012 2020-09-03 16:53:32 +08:00
Yanyan-Wang
a2f9d14b97 fix: remove console and debugger. 2020-09-03 16:53:32 +08:00
Yanyan-Wang
ab6141f741 fix: tooltip behavior with shouldBegin and region response, closes: #2016. 2020-09-03 16:53:32 +08:00
Yanyan-Wang
1814d8c38f docs: toolbar demo in stories 2020-09-03 16:53:32 +08:00
Yanyan-Wang
9ba756a7b1 fix: tooltip plugin with shouldBegin problem, closes #2006. 2020-09-03 16:53:32 +08:00
chenluli
a8a654e22f feat: pagerank algorithm 2020-08-27 15:28:04 +08:00
baizn
59ec5803b7 feat: docs & demos of chart node 2020-08-25 14:31:10 +08:00
多牧
a56807f8cb feat: add register xml node to interface and stroy book 2020-08-24 18:00:37 +08:00
Dominic Ming
120715fff3 fix: xml node surport image node (#1960)
* feat: using style from cfg into xml node

* fix: node style not rollback with the style

* fix: remove unused var

* feat: xml node using single-node setState methods

* fix: {{}} replace bug and only keyshape inherit origin attrs

* lint: fix line problem in xml

* fix: fix image node problem
2020-08-24 18:00:37 +08:00
Dominic Ming
c3a1f9e75a fix: xml node parse error and origin style only used on keyshape (#1942)
* feat: using style from cfg into xml node

* fix: node style not rollback with the style

* fix: remove unused var

* feat: xml node using single-node setState methods

* fix: {{}} replace bug and only keyshape inherit origin attrs

* lint: fix line problem in xml
2020-08-24 18:00:37 +08:00
baizn
8e61aaf30b fix: update & state 2020-08-24 18:00:37 +08:00
Dominic Ming
51d50a9fcf fix: xml node state style not correct (#1916)
* feat: using style from cfg into xml node

* fix: node style not rollback with the style

* fix: remove unused var

* feat: xml node using single-node setState methods
2020-08-24 18:00:37 +08:00
多牧
bf602c3079 feat: using style from cfg into xml node 2020-08-24 18:00:37 +08:00
多牧
6348d5bdfa feat: register node from xml string or xml string genrator 2020-08-24 18:00:37 +08:00
Yanyan-Wang
a16fc5d324 fix: the position of the tooltip plugin 2020-08-22 22:40:38 +08:00
Yanyan-Wang
354cf78402 doc: update minimap plugin docs. 2020-08-22 22:40:38 +08:00
Yanyan-Wang
e3a9ba0ec3 feat: fisheye with dragging. feat: fisheye with scaling range and d. 2020-08-22 22:40:38 +08:00
Yanyan-Wang
0822fb19c9 fix: polyline with rect and radius=0 problem. chore: update hierarchy to solve the children ordering problem for indented tree layout. 2020-08-22 22:40:38 +08:00
baizn
da48078682 fix: combo states 2020-08-21 14:58:22 +08:00
afc163
4f207df68b prettier code style 2020-08-17 18:50:55 +08:00
afc163
dc2c6c6043 style: fix eslint bugs 2020-08-17 18:50:55 +08:00
chenluli
30dae14260 feat: find all paths and the shortest path between two nodes 2020-08-17 16:43:36 +08:00
baizn
f2c4a78dd7 fix: arrow state & linkpoint 2020-08-17 09:52:37 +08:00
baizn
9e70ef5c84 feat: add statistical chart nodes 2020-08-14 09:54:53 +08:00
chenluli
8497eed7b4 fix: donnot allow duplicate ids for hull; remove autoupate for hull 2020-08-12 20:51:43 +08:00
chenluli
9b5b07dbf7 fix: support pass an array of ids as hull members 2020-08-12 20:51:43 +08:00
chenluli
a5d9dfea14 feat: support different hull types & drag in/out member 2020-08-12 20:51:43 +08:00
chenluli
2cbf36ddf6 feat: add hull to support using contour to include some items 2020-08-12 20:51:43 +08:00
baizn
eff8fd0f4b feat: upgrade g-canvas 2020-08-12 17:50:46 +08:00
Yanyan-Wang
2f7b19d745 fix: createCombo with double nodes problem. closes: #1896 2020-08-11 16:16:16 +08:00