diff --git a/docs/network/edges.html b/docs/network/edges.html index e5725b27..54b71906 100644 --- a/docs/network/edges.html +++ b/docs/network/edges.html @@ -361,6 +361,12 @@ network.setOptions(options); the label will align itself according to the edge. + + from + Number or String + + Edges are between two nodes, one to and one from. This is where you define the from node. You have to supply the corresponding node ID. This naturally only applies to individual edges. + hidden Boolean @@ -393,7 +399,7 @@ var options: { id String undefined - The id of the edge. The id is optional for edges. When not supplied, an UUID will be assigned to the edge. + The id of the edge. The id is optional for edges. When not supplied, an UUID will be assigned to the edge. This naturally only applies to individual edges. label @@ -614,6 +620,12 @@ var options: { undefined The title is shown in a pop-up when the mouse moves over the edge. + + to + Number or String + + Edges are between two nodes, one to and one from. This is where you define the to node. You have to supply the corresponding node ID. This naturally only applies to individual edges. + value Number diff --git a/docs/network/interaction.html b/docs/network/interaction.html index 264db720..6b93e907 100644 --- a/docs/network/interaction.html +++ b/docs/network/interaction.html @@ -86,7 +86,7 @@ var options = { hideEdgesOnDrag: false, hideNodesOnDrag: false, hover: false, - hoverSelectedEdges: true, + hoverConnectedEdges: true, keyboard: { enabled: false, speed: {x: 10, y: 10, zoom: 0.02}, @@ -123,7 +123,7 @@ network.setOptions(options); 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. hideNodesOnDrag Boolean false When true, the nodes are not drawn when dragging the view. This can greatly speed up responsiveness on dragging, improving user experience. hover Boolean false When true, the nodes use their hover colors when the mouse moves over them. - hoverSelectedEdges Boolean true When true, on hovering over a node, it's connecting edges are highlighted. + hoverConnectedEdges Boolean true When true, on hovering over a node, it's connecting edges are highlighted. keyboard Object or Boolean Object When true, the keyboard shortcuts are enabled with the default settings. For further customization, you can supply an object. keyboard.enabled Boolean false Toggle the usage of the keyboard shortcuts. If this option is not defined, it is set to true if any of the properties in this object are defined. keyboard.speed.x Number 1 The speed at which the view moves in the x direction on pressing a key or pressing a navigation button.