BUGFIX: resolved null pointer exception for automatic layout of
selections of subgraphs