g3-toolkit API Reference
    Preparing search index...

    Interface G3tEvents

    Context-menu intents. Payloads are the minimum a handler needs to act; a handler that needs more reads it from the UGM it already holds.

    interface G3tEvents {
        "context:editAppearance": { nodeId: string };
        "context:findPath": { sourceId: string; targetId: string };
        "context:focusNode": { hops: number; nodeId: string };
        "context:hideNodes": { nodeIds: string[] };
        "context:inspect": { nodeId: string };
        "context:pinNodes": { nodeIds: string[] };
        "context:viewNeighbors": { hops: number; nodeId: string };
        "context:viewSubgraph": { nodeIds: string[] };
    }
    Index

    Properties

    "context:editAppearance": { nodeId: string }
    "context:findPath": { sourceId: string; targetId: string }
    "context:focusNode": { hops: number; nodeId: string }
    "context:hideNodes": { nodeIds: string[] }
    "context:inspect": { nodeId: string }

    Review 4.11: a host wires this to an inspector panel.

    "context:pinNodes": { nodeIds: string[] }
    "context:viewNeighbors": { hops: number; nodeId: string }
    "context:viewSubgraph": { nodeIds: string[] }