Mermaid Diagram Conventions Decision Node Layout (Flowcharts) When creating mermaid flowcharts with decision nodes ( ), follow these rules for edge ordering: Rule 1: Yes/positive path goes LEFT (list first) The first edge from a decision node renders to the left in top-down ( ) flowcharts. Always list the positive/affirmative/happy-path edge first. Rule 2: Happy path stays in the main vertical flow The positive/expected path should continue straight down the main trunk of the diagram. Error handling, fallbacks, and edge cases should branch off to the side. Rule 3: Negative/discouraging behavi…