<td>This will return an object of all nodes' positions. Data can be accessed with object[nodeId].x and .y.
<td>getPositions([ids])</td>
<td>Object</td>
<td>This will return an object of all nodes' positions. Data can be accessed with object[nodeId].x and .y. You can optionally supply an id as string or number or an array of ids. If no id or array of ids have been supplied, all positions are returned.