visgraph: canvas options, maximize position

This commit is contained in:
Mathieu Jaumotte 2021-11-05 11:12:27 +01:00
parent 5e2b70249e
commit 1a00798da0
2 changed files with 2 additions and 9 deletions

View File

@ -399,9 +399,8 @@ export default {
<style lang="scss" scoped>
div#visgraph {
margin: 2em auto;
height: 700px;
border: 0px solid lightgray;
margin: auto;
}
div#visgraph-legend {
div.post-menu.legend {

View File

@ -75,17 +75,11 @@ window.options = {
},
interaction: {
hover: true,
keyboard: {
enabled: true,
speed: {x: 3, y: 3, zoom: 0.02},
bindToWindow: false
},
multiselect: false,
navigationButtons: false,
tooltipDelay: 300,
},
manipulation: {
enabled: true,
enabled: false,
initiallyActive: false,
addNode: false,
//editNode: function(nodeData, callback) { callback(nodeData) }, //disabled if undefined