The system implements core graph algorithms such as calculating shortest path, computing all equivalent shortest paths and node centrality (closeness and betweenness) in C++, and complements them with an interactive graph visualization interface built using D3.js and served through a local Python web server. It processes multiple types of real-world graph data, offering both computational analysis and visual insight into complex network structures.
It was the final individual assignment project (个人大作业) assigned in "Data Structure and Algorithm (数据结构与算法)" class in grade 2 (1st Semester).
<nodeA> <nodeB> <weight>
Node ID (1-based)
Label (e.g., "1", "2")
X and Y coordinates for graph layout
Z coordinate (usually unused)
Node ID (1-based)
Author Name as label (e.g., "ABRAMSON, G")
X and Y coordinates for graph layout
Z coordinate (usually unused)
"id" = -1
(this is done to ensure that the "id"
matches its index when using D3.js for visualization)."cc"
) and betweenness centrality ("bc"
)."id" = -1
.1.movie.txt
graph lacks coordinate data, so its visualization is not required in the project.