Visibility graphs of polygonal rings