Graphic Layout Generation With Constraints