Put labels and relationship types on separate rows