If a parser rule node and lexer nodes are placed on the same row, and the parser node has more than two children, the edges connecting the parser node to its children will overlap (see image below).
My suggestion: when lexer nodes and a parser node share the same row, extend the connector from the parser node’s parent so that the parser node is placed on the next row (or, in Horizontal mode, the next column). This moves the parser node (and its children) one line/column away from the lexer nodes and prevents the child-connector lines from overlapping the adjacent lexical nodes.
If a parser rule node and lexer nodes are placed on the same row, and the parser node has more than two children, the edges connecting the parser node to its children will overlap (see image below).
My suggestion: when lexer nodes and a parser node share the same row, extend the connector from the parser node’s parent so that the parser node is placed on the next row (or, in Horizontal mode, the next column). This moves the parser node (and its children) one line/column away from the lexer nodes and prevents the child-connector lines from overlapping the adjacent lexical nodes.