Skip to content

Commit

Permalink
Graph max-zoom adjusted!
Browse files Browse the repository at this point in the history
  • Loading branch information
MandanaMoshref committed Apr 26, 2021
1 parent 1ef2526 commit 8533c3f
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ <h3>{{ _('The following resources are referenced by this resource:') }}</h3>
container: document.getElementById('cy'),

minZoom: 0.1,
maxZoom: 100,
//maxZoom: 100,

layout: {
//name: 'dagre', //
Expand Down Expand Up @@ -444,8 +444,11 @@ <h3>{{ _('The following resources are referenced by this resource:') }}</h3>
cy.layout({
name: 'concentric',
});

cy.fit(cy.elements(), 2);

//cy.fit(cy.elements(), 2);
cy.maxZoom(1.3);
cy.fit();
cy.maxZoom(100);
});

</script>
Expand Down

0 comments on commit 8533c3f

Please sign in to comment.