HomeComputer ScienceGit Branching Model 2D: Feature Flow & Merge Conflict Risk

Git Branching Model 2D: Feature Flow & Merge Conflict Risk

Interactive 2D git branching-model simulator: watch feature branches spawn off a growing main line, live long enough to diverge, and merge back — with merge-conflict probability driven by a real divergence formula. Compare Git Flow, GitHub Flow and Trunk-Based Development, with live conflict-rate and lead-time charts.

Computer Science2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-mobile-development-workflows ↗ Open standalone

A live 2D commit graph: feature branches spawn off a growing main line, accumulate their own commits while fanning diagonally away, and merge back after a configurable lifetime — with the probability of a merge conflict driven by a real divergence-based formula, P(conflict) = 1 − e^(−λ·d), where d is how many main commits have landed since the branch point and λ is how densely branches contend for the same files. Switch between Git Flow, GitHub Flow and Trunk-Based Development to see how branch lifetime and direct-to-main commit rate trade off against conflict risk, drag and zoom the graph freely, and watch live readouts plus rolling conflict-rate/lead-time strip charts update in real time.

⚙ Under the hood

A live 2D commit-graph simulator: feature branches spawn off a growing main line, accumulate their own commits while fanning diagonally away, and merge back with a conflict probability driven by a real divergence formula, P(conflict) = 1 - e^(-lambda*d). Compare Git Flow, GitHub Flow and Trunk-Based Development, drag-to-pan and zoom the graph, and watch rolling conflict-rate and lead-time strip charts update live.

gitbranchingmerge-conflictdevopssoftware-engineeringworkflow

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)