PSWriteHTML icon indicating copy to clipboard operation
PSWriteHTML copied to clipboard

Expand New-HTMLDiagramInteractionOptions with more options

Open PrzemyslawKlys opened this issue 6 years ago • 0 comments

All options:

https://visjs.github.io/vis-network/docs/network/interaction.html#

// these are all options in full.
var options = {
  interaction:{
    dragNodes:true,
    dragView: true,
    hideEdgesOnDrag: false,
    hideEdgesOnZoom: false,
    hideNodesOnDrag: false,
    hover: false,
    hoverConnectedEdges: true,
    keyboard: {
      enabled: false,
      speed: {x: 10, y: 10, zoom: 0.02},
      bindToWindow: true
    },
    multiselect: false,
    navigationButtons: false,
    selectable: true,
    selectConnectedEdges: true,
    tooltipDelay: 300,
    zoomView: true
  }
}

network.setOptions(options);

Modify hashtable/paramters to catter more options.

PrzemyslawKlys avatar Oct 01 '19 14:10 PrzemyslawKlys