3-flat-diagram