To delete all the relationship types in a neo4j graph, you can run the following cypher query on the neo4j desktop browser.
match ()-[r]-() delete r;