register = function( cytoscape ){
  var layout = getLayout( cytoscape );

  cytoscape('layout', 'spread', layout);
}
Calculates the coordinates based on force-directed placement
algorithm.

@param graph A valid graph instance