About Decision Tree Maker
A decision tree makes a choice explicit: a decision, the uncertain events that follow, and the outcomes at the leaves. This editor keeps those elements editable, draws Yes and No branches as a tidy tree, and shows the leaf count and depth as the model grows.
When probabilities and values are entered, the tool computes expected value bottom-up: chance nodes weight their branches by probability and decision nodes take the best available branch. The tree exports as SVG, PNG or PDF, saves as JSON, and offers a valid Mermaid flowchart TD source for documentation.
What this tool does
Three node kinds
Decision nodes hold choices, chance nodes hold uncertain events, and outcome nodes hold the leaves with their numeric values.
Yes and No branches
Each child is attached with a Yes or No branch label, so the binary structure stays readable and predictable.
Probabilities and values
Chance branches take a probability, outcome leaves take a numeric value, and the fields live in the side panel and node list.
Expected value calculation
Chance nodes compute a probability-weighted expected value, decision nodes choose the best child, and the summary shows leaves, depth and the result.
Tidy tree layout and subtree delete
Children are laid out under their parent automatically, and deleting a node removes its whole subtree in one action.
Workbench exports and Mermaid source
Export SVG, PNG, PDF or JSON from the workbench, and copy or download a valid flowchart TD source from the Mermaid dialog.
How to use Decision Tree Maker
- 01
Start from a template or a root
Load the support triage or go / no-go example, or start a blank tree with a root decision.
- 02
Add the branches
Pick a parent, choose Yes or No, choose whether the child is a chance node or an outcome, and add it to the tree.
- 03
Enter probabilities and values
Give each branch of a chance node a probability and each outcome leaf a numeric value; the expected value updates as you type.
- 04
Check the summary and validation
Confirm the tree has one root, every decision has two branches and the summary shows a sensible expected value.
- 05
Export the decision
Download SVG, PNG or PDF for the decision record, save the JSON project to keep editing, or take the Mermaid source for a document.
How this tool works
- Works with
- DECISIONS → DECISION TREE
- Processing
- Client-side, in your browser. Nothing is uploaded.
- Requirements
- A modern browser with JavaScript and SVG support · No installation or account; the tree stays on your device
Limitations worth knowing
- Branches are binary Yes / No edges; more alternatives need nested chance or decision nodes rather than a single multi-way node.
- Expected value is only as reliable as the entered probabilities and values; there is no sensitivity analysis, confidence range or Monte Carlo simulation.
- The tidy tree layout re-runs on structural changes; manual drag positions do not survive adding or deleting nodes.
- The Mermaid flowchart export is one-way, and the workbench cannot import a Mermaid decision tree back into the editor.
Privacy and file handling
Decision and chance nodes, probabilities, values and labels stay in this browser tab. The expected value and every export are computed locally; nothing is uploaded and saved JSON projects remain on your device.
Read the full privacy policy
