@joint/react
    Preparing search index...

    Interface LinkMarkerOptions

    Sizing, color, and stroke options shared by every built-in linkMarker* factory. Build a marker, then attach it to a LinkStyle.

    import { linkStyle, linkMarkerArrow, linkMarkerCircle } from '@joint/react';

    const attrs = linkStyle({
    sourceMarker: linkMarkerCircle({ scale: 1.2 }),
    targetMarker: linkMarkerArrow({ fill: 'none' }),
    });
    interface LinkMarkerOptions {
        className?: string;
        fill?: string;
        scale?: number;
        stroke?: string;
        strokeWidth?: number;
    }
    Index

    Properties

    className?: string

    Optional CSS class added to the marker root.

    fill?: string

    Fill color. Defaults to inheriting the link's stroke; use 'none' for an outline-only marker.

    'inherit'
    
    scale?: number

    Uniform scale factor applied to the marker geometry.

    1
    
    stroke?: string

    Stroke (outline) color. Defaults to inheriting the link's stroke.

    'inherit'
    
    strokeWidth?: number

    Stroke width, in px.

    2