Skip to content

entity-viz-kit/react/graph

Generated from actual exported declarations. These signatures and comments are not a second specification. See the integration guide and documented verification limits.

Ready-made adapter to the existing query/inspection/presentation controller. No alternate store.

export declare function ControllerGraph({ controller, ...props }: ControllerGraphProps): ReactElement;

See the declaration and integration guide.

export interface ControllerGraphProps extends Omit<EntityGraphProps, 'registry' | 'contextKey' | 'view' | 'queryEntityIds' | 'selection' | 'onInspectEntity' | 'onInspectPair' | 'onAddEntity' | 'onViewChange'> {
readonly controller: EntityController;
}

See the declaration and integration guide.

export declare function EntityGraph(props: EntityGraphProps): ReactElement;

See the declaration and integration guide.

export interface EntityGraphProps extends GraphOptions {
readonly className?: string;
readonly style?: CSSProperties;
readonly onReady?: (handle: GraphHandle | null) => void;
}