Commit Graph

151 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
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
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
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
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
2cac425437 docs: update tooltip demos. 2020-09-03 19:46:08 +08:00
Yanyan-Wang
a1554f3e20 fix: hide the tooltip plugin when drag node and contextmenu, closes #1975; fix: processParellelEdges without edge id problem; fix: label background with left, right position problem, closes #1861; fix: create-edge and redo undo problem, closes #1976. 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
eb7557773d docs: update the docs url in demos. docs: fix the ordering problem of docs. 2020-09-03 00:14:10 +08:00
chenluli
f7d6a5d644 fix: docs for getConnectedComponents;fix:example title for create edge 2020-08-26 22:10:04 +08:00
Yanyan-Wang
5726004440 docs: update create edge demo with linkCenter 2020-08-25 15:02:25 +08:00
baizn
59ec5803b7 feat: docs & demos of chart node 2020-08-25 14:31:10 +08:00
Yanyan-Wang
f3a111d708 chore: update chart-node-g6 2020-08-25 10:44:49 +08:00
Yanyan-Wang
93ca3d77b6 docs: update bubble set example. docs: update changelog and version number. 2020-08-25 10:44:49 +08:00
Yanyan-Wang
2fab49aab2 docs: update xml node demo. 2020-08-25 10:44:49 +08:00
Yanyan-Wang
bbc5172a95 feat: getChartRegion Util for chart node. 2020-08-25 10:44:49 +08:00
Yanyan-Wang
a5117c3458 docs: add xml node demo for site 2020-08-25 10:44:49 +08:00
chenluli
b351a06a1b docs: add examples for hull 2020-08-24 19:17:01 +08:00
Yanyan-Wang
4670a751ed fix: drop a node onto a sub node of a combo. closes: #1828 2020-08-22 22:40:38 +08:00
Yanyan-Wang
5c2a82e49c docs: update the screenshot for create-edge demo 2020-08-22 22:40:38 +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
zchuhyy
5743df8494 Update index.ts
demo中 https://g6.antv.vision/zh/examples/case/decisionTree

第一次点击根节点的使得节点全部collapsed的时候, TextShape的text还是‘-’, 但理论上说应该为‘+’。
2020-08-20 17:32:29 +08:00
afc163
dc2c6c6043 style: fix eslint bugs 2020-08-17 18:50:55 +08:00
baizn
9d74606420 fix: update docs 2020-08-14 09:54:53 +08:00
baizn
9e70ef5c84 feat: add statistical chart nodes 2020-08-14 09:54:53 +08:00
baizn
071ce303b7 fix: use G6 marker 2020-08-12 17:50:46 +08:00
baizn
eff8fd0f4b feat: upgrade g-canvas 2020-08-12 17:50:46 +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
Yanyan-Wang
e97c4d1b28 docs: add fisheye demos, docs, and API. 2020-07-28 14:26:05 +08:00
Yanyan-Wang
9416d34827 fix: timebar date undefined problem. docs: update the english version plugins docs and the demos about timebar. 2020-07-27 20:15:41 +08:00
baizn
6c12f22921 fix: add plugin docs 2020-07-27 14:28:17 +08:00
Yanyan-Wang
cd74215263 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-27 14:27:52 +08:00
Yanyan-Wang
8749b4593b fix: zoom-canvas with fixItem problems. docs: add zoom-canvas with fixItem demo. 2020-07-27 14:27:52 +08:00
Yanyan-Wang
f292a4fa99 fix: node:click is triggered twice while clicking a node; fix: update combo edge when drag node out of it problem. 2020-07-27 14:21:15 +08:00
baizn
10385bccd9 feat: add plugins docs & demo 2020-07-27 14:18:39 +08:00
Yanyan-Wang
5c9b574cb7 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-27 14:14:33 +08:00
Yanyan-Wang
3797dc3a0f fix: zoom-canvas with fixItem problems. docs: add zoom-canvas with fixItem demo. 2020-07-27 14:13:18 +08:00
Yanyan-Wang
2e701b897b fix: canvas.on leads to tooltip problem. 2020-07-23 22:53:36 +08:00
Yanyan-Wang
b3529fb920 docs: update demos of the site. 2020-07-23 22:53:36 +08:00
Yanyan-Wang
c9b0494843 fix: node:click is triggered twice while clicking a node; fix: update combo edge when drag node out of it problem. 2020-07-23 17:42:21 +08:00
baizn
aa2b5358a6 fix: update partialNode demo 2020-07-22 15:41:48 +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
chenluli
835cc8bee5 docs: fix contextmenu demo 2020-07-21 19:01:30 +08:00
chenluli
c699bb75f1 docs: fix customBehavior demo 2020-07-20 11:26:56 +08:00
chenluli
2d7d0bf611 fix: links in doc 2020-07-10 14:39:33 +08:00