prettified diagram