mass-project / mass_server

Malware Analysis and Storage System - Server repository
https://mass-project.github.io/
MIT License
12 stars 4 forks source link

Firefox cannot render large relation graphs #50

Open skevas opened 7 years ago

skevas commented 7 years ago

Firefox 51.0.1 (64-Bit) on Linux Mint, works in Chrome.

fabian-marquardt commented 7 years ago

Proposed solution: Switch to Chrome/Chromium :smile:

No, seriously, can you provide additional details about the problem, i.e. is there any error message?

skevas commented 7 years ago

Sorry, haven't had time to dig deeper in the problem. My solution was a the proposed switch to Chromium.

Firefox simply opens an info box that the script is running very long ("Warning: unresponsive script") and asks what to do. You could either wait a little longer or terminate the script. I waited several times before I simply switched to Chromium where everything works like charm. I guess it's nothing we can fix on our side without switching the graph drawing framework. @tbehner has access to a sample with the issue to reproduce the it.

fabian-marquardt commented 7 years ago

Ok, I suppose this is an issue with the vis.js library. Since one of the current student projects will integrate d3.js, it may make sense to drop vis.js completely.

One example of graph plotting with d3.js can be found here (bookmark for me :smile:) ... https://bl.ocks.org/mbostock/4062045