Implemented automatic creation of diagram from a model, but there is debug work to do.