From 572cafb1da08c1b459f6f9e30a38ae9cd3e6d6c5 Mon Sep 17 00:00:00 2001 From: Maxime Douailin Date: Fri, 6 Nov 2015 17:18:33 +0100 Subject: [PATCH] updated doc with new setSelection method --- docs/network/index.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/network/index.html b/docs/network/index.html index df4f6c97..788b342f 100644 --- a/docs/network/index.html +++ b/docs/network/index.html @@ -940,6 +940,27 @@ function releaseFunction (clusterPosition, containedNodesPositions) { before selecting its own objects. Does not fire events. + + setSelection( + Object selection, + [Object options]) + + + Returns: none + Sets the selection, wich must be an object like this: +
+{
+  nodes: [Array of nodeIds],
+  edges: [Array of edgeIds]
+}
+ Available options are: +
+{
+  unselectAll: Boolean,
+  highlightEdges: Boolean
+}
+ + unselectAll()