docs(examples): add custom-connectionline

This commit is contained in:
moklick
2020-09-19 13:42:38 +02:00
parent 1f7d88fd5e
commit 69735a624b
+2 -1
View File
@@ -123,7 +123,7 @@ const BasicFlow = () => <ReactFlow elements={elements} />;
#### Connection Line Options
- `connectionLineType`: connection line type = `default` (bezier), `straight`, `step`, `smoothstep`
- `connectionLineStyle`: connection style as svg attributes
- `connectionLineComponent`: [custom connection line component](/example/src/CustomConnectionLin/index.js)
- `connectionLineComponent`: [custom connection line component](/example/src/CustomConnectionLine/index.js)
#### Keys
- `deleteKeyCode`: default: `8` (delete)
@@ -654,6 +654,7 @@ You can find all examples in the [example](example) folder or check out the live
- [provider](https://reactflow.dev/provider)
- [hidden](https://reactflow.dev/hidden)
- [edge types](https://reactflow.dev/edge-types)
- [custom connectionline](https://reactflow.dev/custom-connectionline)
# Development