pivotick - v0.0.1
    Preparing search index...

    Interface EdgeStyle

    interface EdgeStyle {
        animateDash?: boolean;
        curveStyle: CurveStyle;
        dashed?: boolean | ((edge: Edge) => boolean);
        markerEnd?: string | ((edge: Edge) => string);
        markerStart?: string | ((edge: Edge) => string);
        opacity: number;
        rotateLabel: boolean;
        strokeColor: string;
        strokeWidth: number;
        styleCb?: (edge: Edge) => Partial<EdgeStyle>;
    }
    Index

    Properties

    animateDash?: boolean

    Whether the dash should be animated (e.g., animation moving along the path) @default: true

    curveStyle: CurveStyle
    bidirectional
    
    dashed?: boolean | ((edge: Edge) => boolean)

    Whether the stroke is dashed

    false
    
    markerEnd?: string | ((edge: Edge) => string)

    Which end marker should the edge use

    arrow
    
    markerStart?: string | ((edge: Edge) => string)

    Which start marker should the edge use

    undefined
    
    opacity: number
    1.0
    
    rotateLabel: boolean

    Keeps labels horizontally aligned to the viewport

    false
    
    strokeColor: string
    'var(--pvt-edge-stroke, #999)'
    
    strokeWidth: number
    2
    
    styleCb?: (edge: Edge) => Partial<EdgeStyle>