File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ npm install react-monitor-dag
52
52
| onContextmenuEdge | Right-Click Edge Event | <font color =" c41d7f " >(edge) => void</font > | - |
53
53
| onContextmenuGroup | Right-Click Group Event | <font color =" c41d7f " >(data) => void</font > |
54
54
| onChangePage | Single-Click Group Pagination Event | <font color =" c41d7f " >(data) => void</font > |
55
-
55
+ | onNodeStatusChange | The canvas has a callback after the node state changes | < font color = " c41d7f " >(data) => void</ font > |
56
56
57
57
<br >
58
58
### <a name =' menu-type ' ></a ><b >menu</b >
@@ -200,6 +200,7 @@ import 'react-monitor-dag/dist/index.css';
200
200
onContextmenuEdge= {(edge ) => {}} // Right Click Edge Event
201
201
onContextmenuGroup= {(data ) => {}} // Right Click Group Event
202
202
onChangePage= {(data ) => {}} // Single Click Group Pagination Event
203
+ onNodeStatusChange= {(data ) => {}} // The canvas has a callback after the node state changes
203
204
polling= {{ // support polling
204
205
enable: true ,
205
206
interval: 5000 , // interval of polling
@@ -290,6 +291,7 @@ interface props {
290
291
onContextmenuEdge ? (edge: any) : void , // Right-Click Edge Event
291
292
onContextmenuGroup? (edge: any): void , // Right-Click Group Event
292
293
onChangePage? (data: any): void , // Single-Click Group Pagination Event
294
+ onNodeStatusChange? (data: any): void // The canvas has a callback after the node state changes
293
295
}
294
296
```
295
297
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ npm install react-monitor-dag
50
50
| onContextmenuEdge | 右键线段事件 | <font color =" c41d7f " >(edge) => void</font > | - |
51
51
| onContextmenuGroup | 右键group事件 | <font color =" c41d7f " >(edge) => void</font > | - |
52
52
| onChangePage | 单击group分页事件 | <font color =" c41d7f " >(edge) => void</font > | - |
53
+ | onNodeStatusChange | 画布有节点状态变化后的回调 | <font color =" c41d7f " >(data) => void</font > | - |
53
54
54
55
<br >
55
56
@@ -197,8 +198,9 @@ import 'react-monitor-dag/dist/index.css';
197
198
onDblClickNode= {(node ) => {}} // Double Click Node Event
198
199
onClickEdge= {(edge ) => {}} // Single Click Edge Event
199
200
onContextmenuEdge= {(edge ) => {}} // Right Click Edge Event
200
- onContextmenuGroup= {(data ) => {}} // Right Click Group Event
201
+ onContextmenuGroup= {(data ) => {}} // Right Click Group Event
201
202
onChangePage= {(data ) => {}} // Single Click Group Pagination Event
203
+ onNodeStatusChange= {(data ) => {}} // the canvas has a callback after the node state changes
202
204
polling= {{ // support polling
203
205
enable: true ,
204
206
interval: 5000 , // interval of polling
@@ -289,6 +291,7 @@ interface props {
289
291
onContextmenuEdge ? (edge: any) : void , // 右键线段事件
290
292
onContextmenuGroup? (edge: any): void , // 右键group事件
291
293
onChangePage? (data: any): void , // 单击分页事件&搜索
294
+ onNodeStatusChange? (data: any): void // 画布有节点状态变化后的回调
292
295
}
293
296
```
294
297
You can’t perform that action at this time.
0 commit comments