Add built link to readme. Final changes to graph viz

This commit is contained in:
William Jeynes
2026-04-09 15:40:49 +01:00
parent c613444c43
commit 8c510d78a6
2 changed files with 9 additions and 11 deletions
+6 -8
View File
@@ -1,18 +1,16 @@
# AI models for identifying trigger events in disinformation analysis # AI models for identifying trigger events in disinformation analysis
Final Dissertation Submission Repository - Future work with created dataset Final Dissertation Submission Repository - Future work with created dataset
## Project Description ## Graph Viz
-- todo -- 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/)
## Solution Diagram
-- todo --
## Generated Database Link
-- todo --
## Repository Structure ## Repository Structure
``` ```
├── run.sh # Bash script to run project elements from one place ├── 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 └── data/ # Holder from project data
├── dataset.jsonl # Collated dataset - in full format ├── dataset.jsonl # Collated dataset - in full format
└── dataset.csv # Collated dataset - in CSV format └── dataset.csv # Collated dataset - in CSV format
+3 -3
View File
@@ -160,7 +160,7 @@ export function App() {
nodeAutoColorBy="type" nodeAutoColorBy="type"
linkColor={() => "black"} linkColor={() => "black"}
linkWidth={2.5} linkWidth={2.5}
onNodeRightClick={(node) => setSelectedNode(node)} onNodeClick={(node) => setSelectedNode(node)}
nodeCanvasObject={(node, ctx, globalScale) => { nodeCanvasObject={(node, ctx, globalScale) => {
const label = node.label; const label = node.label;
@@ -231,7 +231,7 @@ export function App() {
<input <input
type="range" type="range"
min="9" min="9"
max="49" max="20"
value={minGraphSize} value={minGraphSize}
onChange={(e) => setMinGraphSize(Number(e.target.value))} onChange={(e) => setMinGraphSize(Number(e.target.value))}
/> />
@@ -261,7 +261,7 @@ export function App() {
)} )}
</div> </div>
) : ( ) : (
<p>Right-click a cluster node to see its members</p> <p>Click a node to see details</p>
)} )}
</div> </div>
</div> </div>