Applying communities layout