feat(markers): add more properties for custom markers
This commit is contained in:
@@ -60,6 +60,10 @@ export enum ArrowHeadType {
|
||||
export interface EdgeMarker {
|
||||
type: ArrowHeadType;
|
||||
color?: string;
|
||||
width?: number;
|
||||
height?: number;
|
||||
units?: 'userSpaceOnUse' | 'strokeWidth';
|
||||
strokeWidth?: number;
|
||||
}
|
||||
|
||||
export type EdgeMarkerType = string | EdgeMarker;
|
||||
|
||||
Reference in New Issue
Block a user