g3-toolkit API Reference
    Preparing search index...

    Interface StructuralSvgViewProps

    interface StructuralSvgViewProps {
        "data-testid"?: string;
        geometry: StructuralGeometry;
        height: number;
        input: StructuralGraphInput;
        onElementClick?: (info: ElementPointerInfo<StructuralHit>) => void;
        onElementContextMenu?: (info: ElementPointerInfo<StructuralHit>) => void;
        onElementEnter?: (info: ElementPointerInfo<StructuralHit>) => void;
        onElementLeave?: (info: ElementPointerInfo<StructuralHit>) => void;
        onElementPointerDown?: (info: ElementPointerInfo<StructuralHit>) => void;
        onElementPointerUp?: (info: ElementPointerInfo<StructuralHit>) => void;
        theme?: StructuralSvgTheme;
        width: number;
    }

    Hierarchy

    Index

    Properties

    "data-testid"?: string
    height: number
    onElementClick?: (info: ElementPointerInfo<StructuralHit>) => void
    onElementContextMenu?: (info: ElementPointerInfo<StructuralHit>) => void
    onElementEnter?: (info: ElementPointerInfo<StructuralHit>) => void
    onElementLeave?: (info: ElementPointerInfo<StructuralHit>) => void

    Leave carries the LAST hit (the element being left).

    onElementPointerDown?: (info: ElementPointerInfo<StructuralHit>) => void
    onElementPointerUp?: (info: ElementPointerInfo<StructuralHit>) => void
    width: number