mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
visgraph: canvas options, maximize position
This commit is contained in:
parent
5e2b70249e
commit
1a00798da0
@ -399,9 +399,8 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
div#visgraph {
|
div#visgraph {
|
||||||
margin: 2em auto;
|
|
||||||
height: 700px;
|
height: 700px;
|
||||||
border: 0px solid lightgray;
|
margin: auto;
|
||||||
}
|
}
|
||||||
div#visgraph-legend {
|
div#visgraph-legend {
|
||||||
div.post-menu.legend {
|
div.post-menu.legend {
|
||||||
|
@ -75,17 +75,11 @@ window.options = {
|
|||||||
},
|
},
|
||||||
interaction: {
|
interaction: {
|
||||||
hover: true,
|
hover: true,
|
||||||
keyboard: {
|
|
||||||
enabled: true,
|
|
||||||
speed: {x: 3, y: 3, zoom: 0.02},
|
|
||||||
bindToWindow: false
|
|
||||||
},
|
|
||||||
multiselect: false,
|
multiselect: false,
|
||||||
navigationButtons: false,
|
navigationButtons: false,
|
||||||
tooltipDelay: 300,
|
|
||||||
},
|
},
|
||||||
manipulation: {
|
manipulation: {
|
||||||
enabled: true,
|
enabled: false,
|
||||||
initiallyActive: false,
|
initiallyActive: false,
|
||||||
addNode: false,
|
addNode: false,
|
||||||
//editNode: function(nodeData, callback) { callback(nodeData) }, //disabled if undefined
|
//editNode: function(nodeData, callback) { callback(nodeData) }, //disabled if undefined
|
||||||
|
Loading…
x
Reference in New Issue
Block a user