wrap graphs in containers