set diagram on type provider before layout of new diagram