diff --git a/README.md b/README.md index d05f7a6..0444e0e 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,16 @@ # AI models for identifying trigger events in disinformation analysis Final Dissertation Submission Repository - Future work with created dataset -## Project Description --- todo -- - -## Solution Diagram --- todo -- - -## Generated Database Link --- todo -- +## Graph Viz +A way to visualise the connections between claims and trigger events +Visible here: [https://jillweynes.github.io/LLMsForDisinformationPrediction-GraphVizBuilt/](https://jillweynes.github.io/LLMsForDisinformationPrediction-GraphVizBuilt/) ## Repository Structure ``` ├── run.sh # Bash script to run project elements from one place +├── graphviz +| ├── frontend # React + Parcel + react-force-graph frontend to visualise results +| └── processing # Python scripts to generate clusters and titles └── data/ # Holder from project data ├── dataset.jsonl # Collated dataset - in full format └── dataset.csv # Collated dataset - in CSV format diff --git a/graphviz/frontend/src/App.tsx b/graphviz/frontend/src/App.tsx index 4022174..b545d5b 100644 --- a/graphviz/frontend/src/App.tsx +++ b/graphviz/frontend/src/App.tsx @@ -160,7 +160,7 @@ export function App() { nodeAutoColorBy="type" linkColor={() => "black"} linkWidth={2.5} - onNodeRightClick={(node) => setSelectedNode(node)} + onNodeClick={(node) => setSelectedNode(node)} nodeCanvasObject={(node, ctx, globalScale) => { const label = node.label; @@ -231,7 +231,7 @@ export function App() { setMinGraphSize(Number(e.target.value))} /> @@ -261,7 +261,7 @@ export function App() { )} ) : ( -
Right-click a cluster node to see its members
+Click a node to see details
)}