nexus-agents - v2.80.0
    Preparing search index...

    Interface InteractionGraph

    Interface for the interaction graph.

    interface InteractionGraph {
        addNode(agentId: string): void;
        addEdge(edge: InteractionEdge): void;
        getNodes(): string[];
        getEdges(): InteractionEdge[];
        getOutgoingEdges(agentId: string): InteractionEdge[];
        getIncomingEdges(agentId: string): InteractionEdge[];
        getDegreeCentrality(): Map<string, number>;
        getStronglyConnectedComponents(): string[][];
        getEdgeCount(from: string, to: string): number;
        clear(): void;
    }

    Implemented by

    Index

    Methods