From b28028ac4082842143b0f528d6bc539da6ccb419 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Thu, 21 Sep 2017 12:49:18 -0400 Subject: mega changes, including updates and X --- www/lib/vis/docs/network/groups.html | 177 +++++++++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 www/lib/vis/docs/network/groups.html (limited to 'www/lib/vis/docs/network/groups.html') diff --git a/www/lib/vis/docs/network/groups.html b/www/lib/vis/docs/network/groups.html new file mode 100644 index 00000000..caa8d178 --- /dev/null +++ b/www/lib/vis/docs/network/groups.html @@ -0,0 +1,177 @@ + + + + + + + + + + vis.js - Groups documentation. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Network - groups

+ +

Handles the group styling.

+

Options

+ +

The options for the canvas have to be contained in an object titled 'groups'.

+

Click on the options shown to show how these options are supposed to be used.

+ +
+ +

All of the individual options are explained here:

+ + + + + + + + + + + + + + + + + + + +
NameTypeDefaultDescription
useDefaultGroupsBooleantrueIf your nodes have groups defined that are not in the Groups module, the module loops over the groups it + does have, allocating one for each unknown group. When all are used, it goes back to the first group. By + setting this to false, the default groups will not be used in this cycle. +
group*Object + You can add multiple groups containing styling information that applies to a certain subset of groups. + All options described in the nodes module that make sense can be used here + (you're not going to set the same id or x,y position for a group of nodes). + Example: +
+var nodes = [
+    {id:1, group:'myGroup', label:"I'm in a custom group called 'myGroup'!"}
+]
+
+var options = {
+  groups: {
+    myGroup: {color:{background:'red'}, borderWidth:3}
+  }
+}
+
+ *) the option is not called group, as shown by the example but can by any custom id, except for + 'useDefaultGroups'. +
+ +
+ + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3