Draws a block diagram.