EdgeMarker
边可以选择在边的起点和终点处有标记。EdgeMarker
类型用于配置这些标记!查看 MarkerType
的文档以了解可用的边缘标记类型的详细信息。
¥Edges can optionally have markers at the start and end of an edge. The EdgeMarker
type is used to configure those markers! Check the docs for MarkerType
for details on what types of edge marker are available.
export type EdgeMarker = {
type: MarkerType;
color?: string;
width?: number;
height?: number;
markerUnits?: string;
orient?: string;
strokeWidth?: number;
};
字段
¥Fields
Name | Type |
---|---|
# type | |
# color? | string |
# width? | number |
# height? | number |
# markerUnits? | string |
# orient? | string |
# strokeWidth? | number |