EdgeMarker
邊緣可以選擇性地在邊緣的開始和結束處有標記。 EdgeMarker
類型用於配置這些標記!請查看MarkerType
的文件,了解可用的邊緣標記類型詳細資訊。
export type EdgeMarker = {
type: MarkerType;
color?: string;
width?: number;
height?: number;
markerUnits?: string;
orient?: string;
strokeWidth?: number;
};
欄位
名稱 | 類型 |
---|---|
# type | MarkerType |
# color? | 字串 |
# width? | 數字 |
# height? | 數字 |
# markerUnits? | 字串 |
# orient? | 字串 |
# strokeWidth? | 數字 |