I want to use neo4j to handle such a scenario: for example, I have a set of interrelated nodes,These nodes form a tree structure. These nodes have two types of labels A and B. How can I achieve that A labeled nodes can only appear at the end of the p...