({ data }: NodePorps)
| 14 | } |
| 15 | } |
| 16 | function RedNode({ data }: NodePorps) { |
| 17 | return <div style={{background: 'red', width: '100px', height: '100px', textAlign: 'center'}}> |
| 18 | <Handle type="source" position={Position.Right} /> |
| 19 | <Handle type="target" position={Position.Bottom} /> |
| 20 | |
| 21 | <div>{data.label}</div> |
| 22 | </div> |
| 23 | } |
| 24 | |
| 25 | function BlueNode({ data }: NodePorps) { |
| 26 | return <div style={{background: 'blue', width: '50px', height: '50px', textAlign: 'center', color: '#fff'}}> |
nothing calls this directly
no outgoing calls
no test coverage detected