File size: 766 Bytes
c2ea5ed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import React from "react";
import {
  Dialog,
  DialogContent,
  DialogHeader,
  DialogTitle,
} from "@/components/ui/dialog";
import { EntityImportanceMatrix } from "../visualizations/EntityImportanceMatrix";

interface EntityAnalysisModalProps {
  open: boolean;
  onOpenChange: (open: boolean) => void;
}

export function EntityAnalysisModal({
  open,
  onOpenChange,
}: EntityAnalysisModalProps) {
  return (
    <Dialog open={open} onOpenChange={onOpenChange}>
      <DialogContent className="max-w-6xl max-h-[80vh] overflow-y-auto">
        <DialogHeader>
          <DialogTitle>Entity Analysis</DialogTitle>
        </DialogHeader>
        <div className="mt-4">
          <EntityImportanceMatrix />
        </div>
      </DialogContent>
    </Dialog>
  );
}