This function will take an object of class
Ragraph and will
perform a libgraph layout on the graph locations.
An object of type
layout algorithm to use
If the graph has already been laid out, this function merely returns its parameter. Otherwise, it will perform a libgraph layout and retrieve the appropriate location information.
A laid out object of type
1 2 3 4 5 6