From b85a11ad670b11cc318805099edfd47430fbd6c7 Mon Sep 17 00:00:00 2001 From: sbosse Date: Mon, 21 Jul 2025 22:50:39 +0200 Subject: [PATCH] Mon 21 Jul 22:43:21 CEST 2025 --- js/dos/ext/vis/docs/network/groups.html | 157 ++++++++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 js/dos/ext/vis/docs/network/groups.html diff --git a/js/dos/ext/vis/docs/network/groups.html b/js/dos/ext/vis/docs/network/groups.html new file mode 100644 index 0000000..ccb4681 --- /dev/null +++ b/js/dos/ext/vis/docs/network/groups.html @@ -0,0 +1,157 @@ + + + + + + + + + + vis.js - Groups documentation. + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Network - groups

+ +

Handles the group styling.

+ Back to overview. +

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