docs(readme): add new node props

This commit is contained in:
moklick
2019-10-23 20:42:24 +02:00
parent 870ac4b3fc
commit aa1ef79835

View File

@@ -83,6 +83,8 @@ Node example: `{ id: '1', type: 'input', data: { label: 'Node 1' }, position: {
- `data`: {} *(required if you are using a standard type, otherwise depends on your implementation)*
- `type`: 'input' | 'output' | 'default' or a custom one you implemented
- `style`: css properties
- `targetPosition`: 'left' | 'right' | 'top' | 'bottom' handle position - default: 'top'
- `sourcePosition`: 'left' | 'right' | 'top' | 'bottom' handle position - default: 'bottom'
### Node Types / Custom Nodes