Member Junction
    Preparing search index...
    interface DiagramViewerInstance {
        Svg: SVGSVGElement;
        Clear(): void;
        Destroy(): void;
        OnState(fn: (state: DiagramViewerState) => void): () => void;
        Select(id: string): void;
        SelectEdge(edgeId: string): void;
        Trace(id: string, dir?: "up" | "down" | "both"): void;
    }
    Index

    Properties

    Svg: SVGSVGElement

    Methods

    • Removes the viewer's listeners, highlight classes, hit paths and shell, leaving the original SVG.

      Returns void

    • Parameters

      • id: string

      Returns void

    • Parameters

      • edgeId: string

      Returns void

    • Parameters

      • id: string
      • Optionaldir: "up" | "down" | "both"

      Returns void