mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +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>
|
||||
div#visgraph {
|
||||
margin: 2em auto;
|
||||
height: 700px;
|
||||
border: 0px solid lightgray;
|
||||
margin: auto;
|
||||
}
|
||||
div#visgraph-legend {
|
||||
div.post-menu.legend {
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user