From aa1ef7983523fdfb958b331d0121987a603b65d0 Mon Sep 17 00:00:00 2001 From: moklick Date: Wed, 23 Oct 2019 20:42:24 +0200 Subject: [PATCH] docs(readme): add new node props --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3e0075e8..d6a2d336 100644 --- a/README.md +++ b/README.md @@ -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