From c0a0a2a0853ba76bf08b73a74ce42bcb4c50f17a Mon Sep 17 00:00:00 2001 From: vukk Date: Wed, 12 Aug 2015 18:12:51 +0300 Subject: [PATCH] Fixes documentation for group option of node. --- docs/network/nodes.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/network/nodes.html b/docs/network/nodes.html index 83c00b7e..e6cf075d 100644 --- a/docs/network/nodes.html +++ b/docs/network/nodes.html @@ -93,7 +93,7 @@

Options

The options for the nodes have to be contained in an object titled 'nodes'. All of these options can be supplied per node as well. Obviously, 'id' should not be defined globally but per node. Options defined in the global nodes object, are applied to all nodes. If a node has options of its own, those will be used instead of the global options.

-

When you have given a node an option, you will override the global option for that property. If you then set that option to null, +

When you have given a node an option, you will override the global option for that property, and also the group option for that property if the node is in a group. If you then set that option to null, it will revert back to the default value.

Click on the full options or shorthand options to show how these options are supposed to be used.

@@ -374,7 +374,9 @@ network.setOptions(options); group String undefined - When not undefined, the + When not undefined, the node will belong to the defined group. Styling information of + that group will apply to this node. Node specific styling overrides group styling. + hidden @@ -704,4 +706,4 @@ mySize = minSize + diff * scale; - \ No newline at end of file +