File size: 395 Bytes
51db3f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { useFetchKnowledgeGraph } from '@/hooks/knowledge-hooks';
import React from 'react';
import ForceGraph from './force-graph';

const KnowledgeGraphModal: React.FC = () => {
  const { data } = useFetchKnowledgeGraph();

  return (
    <section className={'w-full h-full'}>
      <ForceGraph data={data?.graph} show></ForceGraph>
    </section>
  );
};

export default KnowledgeGraphModal;