tcibinan / data2graph

Graph visualization service for plagiarism or any other graph-structured data
https://tcibinan.github.io/data2graph/latest/?graph_url=data.json
Apache License 2.0
5 stars 1 forks source link

Support for MOSS graph urls #5

Open tcibinan opened 4 years ago

tcibinan commented 4 years ago

data2graph can be used to visualize all kinds of graphs. Nevertheless it was originally developed in order to visualize plagiarism graphs. One of the best plagiarism analysis tools is MOSS which is maintained by Stanford university.

MOSS performs source code plagiarism analysis and produces HTML-based output. Currently, Data2Graph cannot use direct MOSS analysis result because it is not a valid plagiarism graph.

The idea behind the issue is to provide a support for an alternative graph url type which is basically a MOSS analysis result link.

Implementation plan:

tcibinan commented 4 years ago

@nikita715 Please share if you have any thoughts on the matter.

tcibinan commented 4 years ago

Turned out that client side MOSS results parsing is forbidden by CORS rules. To overcome it data2graph can make use of moss api service. We can provide one-click deployment for both services.

This way we can support moss urls interpretation.