| unit | No | Unit or currency shown with values, up to 12 characters, e.g. "$", "EUR" or "hours". | |
| nodes | No | The tree as a JSON list instead of outline: each node has id, parent (not for the root), label, and p, cost or payoff as needed, e.g. [{"id":"r","label":"Launch?"},{"id":"a","parent":"r","label":"Do not launch","payoff":0}]. | |
| title | No | Title printed on the drawing and used in file names, up to 80 characters, e.g. "Product launch". | |
| outline | No | The tree as indented text, one node per line, children indented under their parent (spaces or tabs, "- " bullets allowed). The first line is the root. Fields after the label: p=<probability> on branches of a chance node, cost=<amount> on any branch, payoff=<amount> on end nodes; separate them with spaces or "|". A node whose branches have p is a chance node, a node with branches and no p is a decision, a node with no branches is an end node; "Decision:", "Chance:" or "End:" before a label states the type. Numbers: decimals (0.35, -1,200.50, $300), fractions (1/3), and percents for p (35%). Up to 300 nodes. Example: "Launch? | decision\n Launch | cost=200\n Strong demand | p=0.6 | payoff=1000\n Weak demand | p=0.4 | payoff=-300\n Do not launch | payoff=0". | |
| decimals | No | Decimals shown in the drawing and summary, 0 to 6 (default 2), e.g. 2. The CSV also has the fraction. | |
| objective | No | max (default): choose the option with the highest expected value, for profit or gain. min: choose the lowest, when payoffs are costs, losses or time. Example: max. | |
| page_size | No | PDF page: letter (default) or a4. Landscape unless portrait needs fewer pages. | |