From 4f17eb4f3ef7a38a07b6c250729a9be928eaff84 Mon Sep 17 00:00:00 2001 From: Alex de Mulder Date: Tue, 2 Jun 2015 15:59:10 +0200 Subject: [PATCH] expanded docs --- docs/network/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/network/index.html b/docs/network/index.html index 959322e2..0b0bd644 100644 --- a/docs/network/index.html +++ b/docs/network/index.html @@ -645,6 +645,7 @@ function releaseFunction (clusterPosition, containedNodesPositions) { newPositions[nodeId] = {x:newPosX, y:newPosY}; return newPositions; } + The containedNodesPositions contain the positions of the nodes in the cluster at the moment they were clustered. This function is expected to return the newPositions, which can be the containedNodesPositions (altered) or a new object. This has to be an object with keys equal to the nodeIds that exist in the containedNodesPositions and an {x:x,y:y} position object.