diff --git a/docs/network/edges.html b/docs/network/edges.html index 1e450336..ac98d30e 100644 --- a/docs/network/edges.html +++ b/docs/network/edges.html @@ -87,7 +87,7 @@
The options for the canvas have to be contained in an object titled 'edges'. All of these options can be supplied per edge as well. Obviously, 'id' should not be defined globally but per edge. Options defined +
The options for the edges have to be contained in an object titled 'edges'. All of these options can be supplied per edge as well. Obviously, 'id' should not be defined globally but per edge. Options defined in the global edges object, are applied to all edges. If an edge has options of its own, those will be used instead of the global options.
Click on the full options or shorthand options to show how these options are supposed to be used.
Used for all user interaction with the network. Handles mouse and touch events as well as the navigation buttons and the popups.
The options for the interaction module have to be contained in an object titled 'interaction'.
+Click on the full options or shorthand options to show how these options are supposed to be used.
+ ++// these are all options in full. +var options = { + interaction:{ + dragNodes:true, + dragView: true, + zoomView: true, + hoverEnabled: false, + navigationButtons: false, + tooltipDelay: 300, + keyboard: { + enabled: false, + speed: {x: 10, y: 10, zoom: 0.02}, + bindToWindow: true + } + } +} + +network.setOptions(options); ++ +
+// only the options that have shorthand notations are shown. +var options = { + interaction:{ + keyboard: false + } +} + +network.setOptions(options); ++
This is a list of all the methods in the public API. They are collected here from all individual modules.
name | type | default | description |
name | type | default | description |
name | type | default | description | |||||||||||||||||||||
enabled | Boolean | false | Toggle the manipulation system on or off. This property is optional. If you define any of the options below and enabled is undefined, this will be set to true. |
name | diff --git a/docs/network/physics.html b/docs/network/physics.html index d9de47be..c0456b57 100644 --- a/docs/network/physics.html +++ b/docs/network/physics.html @@ -1,5 +1,5 @@ - + @@ -20,6 +20,10 @@ + + + + - - +
name | type | default | description |
barnesHut | Object | Object | BarnesHut is a quadtree based gravity model. This is the fastest, default and recommended solver for non-hierarchical layouts. |
name | type | default | description |
hideEdgesOnDrag | Boolean | false | When true, the edges are not drawn when dragging the view. This can greatly speed up responsiveness on dragging, improving user experience. |
name | type | default | description |
select | Boolean | true | When true, the nodes and edges can be selected by the user. |