feat(edges): add arrow head options
This commit is contained in:
@@ -95,6 +95,7 @@ const BasicFlow = () => <ReactFlow elements={elements} />;
|
||||
- `minZoom`: default: `0.5`
|
||||
- `maxZoom`: default: `2`
|
||||
- `defaultZoom`: default: `1`
|
||||
- `arrowHeadColor`: default: `#bbb`
|
||||
|
||||
## React Flow Instance
|
||||
|
||||
@@ -247,6 +248,8 @@ If you wanted to display this edge, you would need a node with id = 1 (source no
|
||||
- `labelStyle`: css properties for the text
|
||||
- `labelShowBg`: boolean - default: `true`
|
||||
- `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
|
||||
|
||||
You can find an example with lots of different edges in the [edges example](https://react-flow.netlify.app/edges).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user