You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/01/30 06:32:40 UTC

[echarts-doc] branch master updated: remove deprecated focusnodeadjacency

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git


The following commit(s) were added to refs/heads/master by this push:
     new 53001c6  remove deprecated focusnodeadjacency
53001c6 is described below

commit 53001c6eb0946aa5def6b39c59fc81b1e89e5d3d
Author: pissang <bm...@gmail.com>
AuthorDate: Sat Jan 30 14:32:24 2021 +0800

    remove deprecated focusnodeadjacency
---
 en/api/action.md | 46 ----------------------------------------------
 en/api/events.md | 14 --------------
 zh/api/events.md | 12 ------------
 3 files changed, 72 deletions(-)

diff --git a/en/api/action.md b/en/api/action.md
index 282dad5..d7ef7e3 100644
--- a/en/api/action.md
+++ b/en/api/action.md
@@ -347,52 +347,6 @@ Actions related to [geo](option.html#geo) component, [geo](option.html#geo) shou
 ) }}
 
 
-## graph
-Actions related to [graph](option.html#series-graph), [graph](option.html#series-graph) should be imported before use.
-
-### focusNodeAdjacency(Action)
-
-Highlight the specified node and all of its adjacent nodes.
-
-```js
-dispatchAction({
-    type: 'focusNodeAdjacency',
-
-    // Use seriesId or seriesIndex or seriesName to specify
-    // the target series.
-    seriesId: 'xxx',
-    seriesIndex: 0,
-    seriesName: 'nnn',
-
-    // Use either `dataIndex` or `edgeDataIndex` to specify
-    // the target node or target edge.
-    dataIndex: 12
-    edgeDataIndex: 5
-})
-```
-
-Event [focusNodeAdjacency](~event.focusNodeAdjacency) will be thrown finally.
-
-### unfocusNodeAdjacency(Action)
-
-Reverse highlight the specified node and all of its adjacent nodes.
-
-```js
-dispatchAction({
-    type: 'unfocusNodeAdjacency',
-
-    // Use seriesId or seriesIndex or seriesName to location the series.
-    seriesId: 'xxx',
-    seriesIndex: 0,
-    seriesName: 'nnn'
-})
-```
-
-Event [unfocusNodeAdjacency](~event.unfocusNodeAdjacency) will be thrown finally.
-
-
-
-
 ## brush
 [brush](option.html#brush) related actions.
 
diff --git a/en/api/events.md b/en/api/events.md
index 9b6e81e..8f2b24b 100644
--- a/en/api/events.md
+++ b/en/api/events.md
@@ -299,20 +299,6 @@ chart.on('axisareaselected', function () {
     console.log(indices2);
 });
 ```
-
-
-## focusnodeadjacency(Event)
-Adjacent nodes highlight event in [graph](option.html#graph).
-
-See [focusNodeAdjacency](~action.graph.focusNodeAdjacency).
-
-
-## unfocusnodeadjacency(Event)
-Adjacent nodes reverse-highlight event in [graph](option.html#graph).
-
-See [unfocusNodeAdjacency](~action.graph.unfocusNodeAdjacency).
-
-
 ## brush(Event)
 
 Event triggered after action [brush](~action.brush.brush) dispatched.
diff --git a/zh/api/events.md b/zh/api/events.md
index 2a5edb3..99ea090 100644
--- a/zh/api/events.md
+++ b/zh/api/events.md
@@ -297,18 +297,6 @@ chart.on('axisareaselected', function () {
 });
 ```
 
-## focusnodeadjacency(Event)
-[graph](option.html#graph)的邻接节点高亮事件。
-
-参见[focusNodeAdjacency](~action.graph.focusNodeAdjacency)。
-
-
-## unfocusnodeadjacency(Event)
-[graph](option.html#graph)的邻接节点取消高亮事件。
-
-参见[unfocusNodeAdjacency](~action.graph.unfocusNodeAdjacency)。
-
-
 ## brush(Event)
 
 “选框正在添加”事件。即发出 [brush action](~action.brush.brush) 得到的事件。


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org