Definition and visualization of object models with several types of relationships