You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415
  1. import { useFetchKnowledgeGraph } from '@/hooks/knowledge-hooks';
  2. import React from 'react';
  3. import ForceGraph from './force-graph';
  4. const KnowledgeGraphModal: React.FC = () => {
  5. const { data } = useFetchKnowledgeGraph();
  6. return (
  7. <section className={'w-full h-full'}>
  8. <ForceGraph data={data?.graph} show></ForceGraph>
  9. </section>
  10. );
  11. };
  12. export default KnowledgeGraphModal;