Skip to content

Commit

Permalink
fix broken network in archives branch
Browse files Browse the repository at this point in the history
  • Loading branch information
boogheta committed Sep 10, 2021
1 parent 2621adb commit 959e0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyphe_frontend/app/components/sigmaNetwork.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ angular.module('hyphe.sigmaNetworkComponent', [])
function refreshSigma() {
$timeout(function(){
var container = document.getElementById('sigma-div')
if (!container || !container.style.width) return
if (!container || !$scope.network.size) return

renderer = new Sigma.WebGLRenderer($scope.network, container)

Expand Down

0 comments on commit 959e0ea

Please sign in to comment.