Browse Source

expanded docs

flowchartTest
Alex de Mulder 9 years ago
parent
commit
4f17eb4f3e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      docs/network/index.html

+ 1
- 0
docs/network/index.html View File

@ -645,6 +645,7 @@ function releaseFunction (clusterPosition, containedNodesPositions) {
newPositions[nodeId] = {x:newPosX, y:newPosY};
return newPositions;
}</pre>
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 <code>{x:x,y:y}</code> position object. <br><br>

Loading…
Cancel
Save