Commit Graph

171 Commits

Author SHA1 Message Date
baizn
5baa092823 fix: update docs 2020-09-25 16:57:06 +08:00
Dominic Ming
c356e9d804 feat: add docs and jsx option in register (#2126)
* 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

* feat: update jsx node example and doc

Co-authored-by: Moyee <576375879@qq.com>
2020-09-24 11:16:31 +08:00
liuwei1025
8fd9868bc3 Update animation.zh.md
修改示例中缺少`,`的问题
2020-09-18 20:59:33 +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
Ismail El Moudni
6f2068e078 Chinese to English translation 2020-09-16 10:54:41 +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
Yanyan-Wang
456892f148 docs: update jsx-node doc for spelling error. 2020-09-04 17:14:52 +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
17567b37bf docs: update the url of docs. 2020-09-03 00:14:10 +08:00
Yanyan-Wang
35bce616f7 docs: update url in api and demos. 2020-09-03 00:14:10 +08:00
Chenlu Li
9cdeb3040a docs: fix links for built-in elements 2020-09-03 00:14:10 +08:00
Chenlu Li
bd01b34f45 docs: fix links 2020-09-03 00:14:10 +08:00
Yanyan-Wang
eb7557773d docs: update the docs url in demos. docs: fix the ordering problem of docs. 2020-09-03 00:14:10 +08:00
chenluli
a4a4011f2e docs: add faq links; add item overview 2020-09-03 00:14:10 +08:00
chenluli
bfce99714f docs: manual refactor 2020-09-03 00:14:10 +08:00
chenluli
ce3d668a29 docs: manual refactor 2020-09-03 00:14:10 +08:00
Yanyan-Wang
2fb46a1521 docs: update the english version of jsx-node doc. 2020-08-26 22:07:33 +08:00
baizn
59ec5803b7 feat: docs & demos of chart node 2020-08-25 14:31:10 +08:00
Yanyan-Wang
06acc0fb43 test: update test specs. 2020-08-25 10:44:49 +08:00
Yanyan-Wang
1ae908ed74 feat: click and drag to create an edge by create-edge behavior; process multiple parallel edges to quadratic with proper curveOffset. 2020-08-22 22:40:38 +08:00
Yanyan-Wang
354cf78402 doc: update minimap plugin docs. 2020-08-22 22:40:38 +08:00
afc163
dc2c6c6043 style: fix eslint bugs 2020-08-17 18:50:55 +08:00
Yanyan-Wang
122252287c feat: control the visible in the data. test: visible in data test spec. 2020-08-11 16:16:16 +08:00
Yanyan-Wang
cc225bbeed fix: tooltip plugin position problem. fix: tooltip plugin for node and edge, shouldUpdate. fix: destroy graph with tooltip behavior. fix: context menu plugin with clickHandler problem and shouldUpdate, itemTypes. 2020-08-11 16:16:16 +08:00
Yanyan-Wang
883ec4d732 feat: image minimap. docs: api, doc, and demo for image minimap. 2020-08-11 16:16:16 +08:00
chenluli
4f654f76da docs: add docs for getAdjMatrix, getShortestPathMatrix; add doc for linkCenter; fix the docs for lasso 2020-07-28 16:03:45 +08:00
Yanyan-Wang
e97c4d1b28 docs: add fisheye demos, docs, and API. 2020-07-28 14:26:05 +08:00
chenluli
99debacfcf docs: add docs for lasso behavior 2020-07-27 20:30:38 +08:00
Yanyan-Wang
973d9cf2ef docs: update the english version of comboTheory docs. 2020-07-22 19:05:44 +08:00
Yanyan-Wang
36c5dbb887 docs: demo for hide items while dragging. fix: fix node while zooming problem. fix: set default enableOptimize of drag-canvas to be false. 2020-07-22 13:31:55 +08:00
Yanyan-Wang
106a6cfca3 fix: zoom-canvas with fixItem problems. docs: add zoom-canvas with fixItem demo. 2020-07-22 13:31:55 +08:00
baizn
1f3d84271f feat: add drag-canvas enableOptimize doc 2020-07-21 19:44:13 +08:00
chenluli
d8b14756b3 docs: fix graphics group doc; add setClip method in doc 2020-07-10 19:48:06 +08:00
chenluli
2d7d0bf611 fix: links in doc 2020-07-10 14:39:33 +08:00
Yanyan-Wang
461c73f424 docs: update customItemTree and version number in tutorial. 2020-07-08 10:55:29 +08:00
Yanyan-Wang
2916872459 docs: update english version of new docs 2020-07-06 11:51:07 +08:00
Yanyan-Wang
684cd874ec feat: dagre layout supports sortByCombo; feat: allow user to disable relayout in collapse-expand-combo behavior. 2020-07-06 11:51:07 +08:00
Yanyan-Wang
7cf61ad117 fix: grid DOM selectable and drag-canvas problem. docs: add docs about the coordinate system. 2020-07-06 11:51:07 +08:00
baizn
91ec11aed4 fix: update plugins doc 2020-07-03 23:47:26 +08:00
Yanyan-Wang
a51d86c49c docs: update arrows imate in arrow doc 2020-06-29 15:04:49 +08:00
Yanyan-Wang
0b51d274c6 docs: update arrow demos. 2020-06-29 11:01:43 +08:00
Yanyan-Wang
59f646b1c4 docs: update arrow docs. 2020-06-29 11:01:43 +08:00
Yanyan-Wang
93241b59b2 docs: update offset for modelRect. 2020-06-23 10:35:20 +08:00
Yanyan-Wang
1c9d4c1308 docs: update dagre align docs. 2020-06-22 14:35:20 +08:00
Yanyan-Wang
099f75b666 docs: update collapse-expand-combo behavior docs. 2020-06-22 13:55:00 +08:00
Yanyan-Wang
161ff7c0e8 fix: combo collapse and expand with edges problem. feat: getGroup and getContainer API for graph. fix: destroy the tooltip DOMs when destroy the graph. 2020-06-22 13:55:00 +08:00
Yanyan-Wang
ddd7d6335a feat: shouldBegin for click-select behavior, closes: #1706. docs: update the configurations and timing events for behaviors docs. 2020-06-22 13:55:00 +08:00