From 81255b2cd7b5babe0e6b1c01a057d9f4a0393659 Mon Sep 17 00:00:00 2001 From: Moritz Date: Wed, 15 Jul 2020 15:52:14 +0200 Subject: [PATCH] chore(readme): node options --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 30a69bc3..f557dea4 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ Node example: `{ id: '1', type: 'input', data: { label: 'Node 1' }, position: { - `className`: additional class name - `targetPosition`: 'left' | 'right' | 'top' | 'bottom' handle position - default: 'top' - `sourcePosition`: 'left' | 'right' | 'top' | 'bottom' handle position - default: 'bottom' -- `isHidden`: if `true` node gets not rendered +- `isHidden`: if `true`, the node will not be rendered ## Node Types & Custom Nodes @@ -252,7 +252,7 @@ If you wanted to display this edge, you would need a node with id = 1 (source no - `labelBgStyle`: css properties for the text background - `arrowHeadType`: 'arrow' or 'arrowclosed' - defines the arrowhead of the edge - `markerEndId`: custom marker end url - if this is used `arrowHeadType` gets ignored -- `isHidden`: if `true` edge gets not rendered +- `isHidden`: if `true`, the edge will not be rendered You can find an example with lots of different edges in the [edges example](https://reactflow.dev/edges).