claritykit-svelte
Version:
A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility
45 lines • 1.58 kB
TypeScript
import type { GraphData, LayoutOptions, StyleOptions, FilterOptions, SearchOptions, ClusteringOptions, NodeType, RelationshipType, GraphNode, GraphEdge } from './types.js';
type $$ComponentProps = {
data: GraphData;
layout?: LayoutOptions;
style?: StyleOptions;
filter?: FilterOptions;
search?: SearchOptions;
clustering?: ClusteringOptions;
width?: string;
height?: string;
class?: string;
interactive?: boolean;
showLabels?: boolean;
showEdgeLabels?: boolean;
enableClustering?: boolean;
enableSearch?: boolean;
enableFiltering?: boolean;
zoomEnabled?: boolean;
panEnabled?: boolean;
boxSelectionEnabled?: boolean;
autofit?: boolean;
'data-testid'?: string;
};
declare const KnowledgeGraph: import("svelte").Component<$$ComponentProps, {
applyLayout: (newLayout: LayoutOptions) => void;
searchNodes: (searchOptions: SearchOptions) => void;
performClustering: (clusteringOptions: ClusteringOptions) => void;
fitToView: () => void;
resetView: () => void;
getSelectedNodes: () => GraphNode[];
getSelectedEdges: () => GraphEdge[];
getStatistics: () => {
nodeCount: number;
edgeCount: number;
nodeTypes: NodeType[];
relationshipTypes: RelationshipType[];
selectedNodeCount: number;
selectedEdgeCount: number;
searchResultCount: number;
clusterCount: number;
};
}, "">;
type KnowledgeGraph = ReturnType<typeof KnowledgeGraph>;
export default KnowledgeGraph;
//# sourceMappingURL=KnowledgeGraph.svelte.d.ts.map