mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 20:59:15 +08:00
6179c5d036
* docs: add nodes docs * docs: add item edge docs * docs: refine item (node,edge) docs * docs: combo docs * perf: refine model rect item * docs: add custom data transformer docs * docs: refine item docs --------- Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>
1.8 KiB
1.8 KiB
ArrowProps
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' |