Commit Graph

3251 Commits

Author SHA1 Message Date
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
4b8b08eadf fix: remove unused import 2020-09-24 11:08:10 +08:00
baizn
073cd0ad06 fix: trend timebar position 2020-09-24 11:08:10 +08:00
Yanyan-Wang
eacc80a078 fix: toolbar positions for slice timebar. 2020-09-24 11:08:10 +08:00
baizn
20b098d15d feat: add timebar examples 2020-09-24 11:08:10 +08:00
baizn
f7e4a8606c fix: trend timebar emit event 2020-09-24 11:08:10 +08:00
Yanyan-Wang
a4989df3b3 chore: delete git-m file. 2020-09-24 11:08:10 +08:00
Yanyan-Wang
679ceab0b0 fix: minor change 2020-09-24 11:08:10 +08:00
Yanyan-Wang
2bad563872 feat: play the slice type time bar. 2020-09-24 11:08:10 +08:00
baizn
2bb77e8276 feat: slice timebar add play button 2020-09-24 11:08:10 +08:00
baizn
b928cc5173 feat: simple timebar component 2020-09-24 11:08:10 +08:00
baizn
93babe5b58 feat: support simple timebar 2020-09-24 11:08:10 +08:00
baizn
eef61aa67a feat: add trend teimebar component 2020-09-24 11:08:10 +08:00
baizn
09266ec075 feat: timebar component 2020-09-24 11:08:10 +08:00
baizn
b1701eff22 fix: trend timebar position 2020-09-24 11:08:10 +08:00
Yanyan-Wang
540fbcf8a5 fix: toolbar positions for slice timebar. 2020-09-24 11:08:10 +08:00
baizn
c944186cab feat: add timebar examples 2020-09-24 11:08:10 +08:00
baizn
745cef2344 fix: trend timebar emit event 2020-09-24 11:08:10 +08:00
Yanyan-Wang
7ae9f5aeee chore: delete git-m file. 2020-09-24 11:08:10 +08:00
Yanyan-Wang
672f5805f7 fix: minor change 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
baizn
afc954f41d feat: simple timebar component 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
ef57f7909a feat: support simple timebar 2020-09-24 11:08:10 +08:00
baizn
426d07e92a feat: add trend teimebar component 2020-09-24 11:08:10 +08:00
baizn
00e70ed33b fix: timebar 2020-09-24 11:08:10 +08:00
baizn
a2583b1ec4 feat: timebar 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
liuwei1025
8fd9868bc3 Update animation.zh.md
修改示例中缺少`,`的问题
2020-09-18 20:59:33 +08:00
Yanyan-Wang
9a1993cbfa fix: treeGraph render with addItem and stack problem, closes: #2084; docs: complete the Event API docs. 2020-09-18 20:58:57 +08:00
Yanyan-Wang
e649582d1b feat: edge filter lens. 2020-09-18 20:58:57 +08:00
Yanyan-Wang
c254935594 docs: update fontFamily type in docs. 2020-09-16 11:47:54 +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
Ismail El Moudni
6f2068e078 Chinese to English translation 2020-09-16 10:54:41 +08:00
Yanyan-Wang
f2eef8e591 docs: update CHANGELOG 2020-09-14 13:31:39 +08:00
Yanyan-Wang
5ce200d055 fix: the position of the context menu before showing up 2020-09-14 13:31:39 +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
d864233499 chore: beautify code. 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
偏右
81bf3c9c30 Update getting-started.en.md 2020-09-08 22:36:44 +08:00
偏右
a730693ac1 docs: update g6 cdn link 2020-09-08 22:36:44 +08:00
偏右
9e5be423f5
Update README.md 2020-09-08 16:06:33 +08:00
Yanyan-Wang
456892f148 docs: update jsx-node doc for spelling error. 2020-09-04 17:14:52 +08:00
Yanyan Wang
b8480940ac Update issue templates 2020-09-04 13:45:04 +08:00
Yanyan-Wang
2cac425437 docs: update tooltip demos. 2020-09-03 19:46:08 +08:00
Yanyan-Wang
6a42a1c0c6 chore: update interface files. 2020-09-03 16:53:32 +08:00
Yanyan-Wang
f4b90c98dd fix: eslint problem. 2020-09-03 16:53:32 +08:00