externalized persistence behaviour to own class
set diagram on type provider before layout of new diagram