diff --git a/docs/network/index.html b/docs/network/index.html index 01af8ad0..2ade8795 100644 --- a/docs/network/index.html +++ b/docs/network/index.html @@ -1313,7 +1313,7 @@ var options = {
{
+{
   nodes: [Array of selected nodeIds],
   edges: [Array of selected edgeIds],
   event: [Object] original click event,
@@ -1323,6 +1323,24 @@ var options = {
   }
 }
 
+
+This is the structure common to all events. Specifically for the click event, the following property is added:
+
+{
+...
+  items: [Array of click items],
+}
+
+Where the click items can be:
+
+  {nodeId:NodeId}            // node with given id clicked on
+  {nodeId:NodeId labelId:0}  // label of node with given id clicked on
+  {edgeId:EdgeId}            // edge with given id clicked on
+  {edge:EdgeId, labelId:0}   // label of edge with given id clicked on
+
+
+The order of the items array is descending in z-order.
+Thus, to get the topmost item, get the value at index 0.