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).