Wrap graphs in a container