Hiyve Components - v1.0.0
    Preparing search index...

    Props for NetworkGraph component

    interface NetworkGraphProps {
        colors?: Partial<AgentAssistantColors>;
        data: GraphData;
        height?: number;
        labels?: Partial<AgentAssistantLabels>;
        nodeColors?: Record<string, string>;
        onNodeClick?: (node: GraphNode) => void;
        showControls?: boolean;
        showLegend?: boolean;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    colors?: Partial<AgentAssistantColors>

    Custom colors

    data: GraphData

    Graph data

    height?: number

    Graph height in pixels

    labels?: Partial<AgentAssistantLabels>

    Custom labels

    nodeColors?: Record<string, string>

    Custom node colors by type

    onNodeClick?: (node: GraphNode) => void

    Callback when a node is clicked

    showControls?: boolean

    Whether to show zoom controls

    showLegend?: boolean

    Whether to show the legend

    sx?: SxProps<Theme>

    MUI sx prop