feat(test): add connect test

This commit is contained in:
moklick
2019-10-03 23:07:41 +02:00
parent 22d2e62f9a
commit 68ec18570f
2 changed files with 21 additions and 5 deletions

View File

@@ -14,6 +14,7 @@ class App extends PureComponent {
{ id: '1', type: 'input', data: { label: 'Node 1' }, position: { x: 250, y: 5 } },
{ id: '2', data: { label: 'Node 2' }, position: { x: 100, y: 100 } },
{ id: '3', data: { label: 'Node 3' }, position: { x: 400, y: 100 } },
{ id: '4', data: { label: 'Node 4' }, position: { x: 400, y: 200 } },
{ source: '1', target: '2', animated: true },
{ source: '1', target: '3' },
]