aws-securitygroup-grapher is a handy tool that can generate a variety of graphs visualizing Amazon Security Groups. It is implemented as an Ansible role and uses GraphViz to produce the results.
This is particularly useful when you need to get familiar with a complex VPC setup by someone else, or when you want to review the results of an automated setup.