1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| import { NsGraph } from '@antv/xflow'
| import React from 'react'
| import { useAppContext } from '@antv/xflow'
| import './node2.less'
|
| const Node2 = props => {
| const ctx = useAppContext()
|
| return (
| <div className="node2-container">
| <div>{'React节点2'}</div>
| </div>
| )
| }
| export default Node2
|
|