Skip to content

Commit

Permalink
change result display
Browse files Browse the repository at this point in the history
  • Loading branch information
ecornamu committed Dec 18, 2024
1 parent ce3ef75 commit 38906db
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/_includes/results_display.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h1>Movie Character Name Influence</h1>
<script>
// Example data - replace this with your own
const movies = [
{ id: "1", name: "Mission: Impossible II", year: "2000", graph: "mission:_impossible_ii_graph.html" },
{ id: "1", name: "Mission: Impossible II", year: "2000", graph: "mission_impossible_ii_graph.html" },
{ id: "2", name: "Love Actually", year: "2003", graph: "love_actually_graph.html" },
{ id: "3", name: "Pulp Fiction", year: "1994", graph: "pulp_fiction_graph.html" },
];
Expand Down Expand Up @@ -89,6 +89,7 @@ <h1>Movie Character Name Influence</h1>

// Function to load a graph
function loadGraph(graphFile) {
graphpath = "https://epfl-ada.github.io/ada-2024-project-dondata2025/assets/" + graphFile;
fetch(graphFile)
.then(response => {
if (!response.ok) {
Expand Down

0 comments on commit 38906db

Please sign in to comment.