Add attribute relationships to diagram