From 097ba5fd73130127e1fcef3dd5181df3b408284c Mon Sep 17 00:00:00 2001 From: sbosse Date: Mon, 21 Jul 2025 22:58:45 +0200 Subject: [PATCH] Mon 21 Jul 22:43:21 CEST 2025 --- .../neighbourhoodHighlight.html | 162 ++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 js/dos/ext/vis/examples/network/exampleApplications/neighbourhoodHighlight.html diff --git a/js/dos/ext/vis/examples/network/exampleApplications/neighbourhoodHighlight.html b/js/dos/ext/vis/examples/network/exampleApplications/neighbourhoodHighlight.html new file mode 100644 index 0000000..fc8e262 --- /dev/null +++ b/js/dos/ext/vis/examples/network/exampleApplications/neighbourhoodHighlight.html @@ -0,0 +1,162 @@ + + + + Network | Static smooth curves - World Cup Network + + + + + + + + + + + + +

Dynamic Data - Neighbourhood Highlight

+
+ This example shows the power of the DataSet. Once a node is clicked, all nodes are greyed out except for the first and second order connected nodes. + In this example we show how you can determine the order of connection per node as well as applying individual styling to the nodes based on whether or not + they are connected to the selected node. The code doing the highlighting only takes about 1ms, the rest of the time is the redrawing of the network (9200 edges..). +

+
+ +
+ + + +