Added documentation to drawing a relation diagram