ArrowProps
```typescript
type ArrowType = 'triangle' | 'circle' | 'diamond' | 'rect' | 'vee' | 'triangle-rect' | 'simple';
type ArrowStyle = PathStyleProps & {
type: ArrowType;
width: number;
height: number;
offset?: number;
};
type ArrowProps = {
// 边的起始端箭头
startArrow?: boolean | ArrowStyle;
// 边的结束端箭头
endArrow?: boolean | ArrowStyle;
};
```
`ArrowType` 可选值如下:
| 类型名称 | 效果 |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `'simple'` | |
| |
| `'triangle'` | |
| `'circle'` | |
| `'diamond'` | |
| `'rect'` | |
| `'vee'` | |
| `'triangle-rect'` | |