Visualizing Moss (Measure Of Software Similarity) result in a node-link diagram
Just open up index.html
to see the visualization. It will open an example data file Moss Results.html
which can be saved directly from the website.
It is a standard node-link diagram implemented with D3 (v3 for now). Each node is a submission path, truncated by the common prefix. An edge shows that two submissions are more similar than the average of the submission set (measured by the number of common lines and visualized as edge thickness).
Cliques of plagiarism should be easily detectable. Nodes can also be dragged around and fixed for manual layout. A simple bounded force layout is applied.
It will be nice if the tool can directly fetch the result from an URL (without CORS errors). Advanced layout algorithms are welcome.