get_layout_for_modules: Internal function used to create coordinates based on a set of modules
Description
Internal function used to create coordinates based on a set of modules
Usage
get_layout_for_modules(g, modules)
Arguments
modules
A list containing sets of indicies indicating the nodes in
g
that belong to each module
Value
A matrix of coordinates for plotting