Commit Graph

108 Commits

Author SHA1 Message Date
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
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
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
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
2d7d0bf611 fix: links in doc 2020-07-10 14:39:33 +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
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
Yanyan-Wang
e4111b2041 docs: update combo.removeNode docs and state docs. 2020-06-16 17:19:39 +08:00
Yanyan-Wang
7b78c18b32 docs: update state docs 2020-06-05 17:59:39 +08:00
Yanyan-Wang
6342b38bab docs: update the url for Shape in docs. 2020-06-05 17:59:39 +08:00
Yanyan-Wang
c55be39652 docs: update the url for anchorpoints in docs. 2020-06-03 13:29:39 +08:00
Yanyan-Wang
73b38e4c96 docs: update dagre docs. 2020-06-03 11:46:12 +08:00
Yanyan-Wang
9417142437 docs: update the fitCenter docs. 2020-06-02 15:47:55 +08:00
Yanyan-Wang
bd2dfa02fd feat: fitCenter for translate the graph to align the canvas center; docs: add fitCenter for simpel demos; docs: english description for demos. 2020-06-02 15:47:55 +08:00
Yanyan-Wang
c293e0f50c docs: update urls. 2020-05-26 15:13:23 +08:00