e2e-regression
Decision tree
Overview
Full decision path
Start: Q1
Q1 — Do you need a persistent store?
- yes → next question Q2 — Is the data relational?
- no → outcome Use an in-memory cache
Q2 — Is the data relational?
- yes → outcome Use a SQL database
- no → outcome Use a document database
Outcomes
- Use an in-memory cache
(OUT_CACHE) - Reached from Q1 (no).
- Use a SQL database
(OUT_SQL) - Reached from Q2 (yes).
- Use a document database
(OUT_DOC) - Reached from Q2 (no).
Machine-Readable JSON (Canonical Model)
View JSON
{
"_meta": {
"schema": "https://www.drawdecisiontree.com/decision-dag.schema.json",
"source": "https://www.drawdecisiontree.com",
"description": "DrawDecisionTree.com is a free tool for building, sharing, and embedding interactive decision trees. This file is the machine-readable export of a published decision tree. The `dsl` field contains the original source in the Decision DAG DSL; the `dag` schema is documented at the URL in `schema` above.",
"links": {
"interactive": "https://www.drawdecisiontree.com/trees/testing/untitled-20",
"embed": "https://www.drawdecisiontree.com/embed/path/testing/untitled-20",
"dsl_reference": "https://www.drawdecisiontree.com/decision-tree-dsl-reference",
"guides": "https://www.drawdecisiontree.com/guides",
"schema_docs": "https://www.drawdecisiontree.com/decision-dag.schema.json",
"author_trees": "https://www.drawdecisiontree.com/trees/testing"
},
"generated_at": "2026-10-14T09:35:14.012Z"
},
"author": {
"handle": "testing",
"first_name": "Regression",
"last_name": "Tester",
"avatar_url": "3467694e-f934-4d97-a06c-a11365089bac/avatar-1791920793336.svg",
"display_name": "Regression Tester"
},
"file": {
"id": "2ff78db8-0f5d-4820-9f63-e155c987dab6",
"name": "e2e-regression",
"public_slug": "untitled-20",
"updated_at": "2026-10-13T21:37:34.56113+00:00",
"url": "https://www.drawdecisiontree.com/trees/testing/untitled-20",
"json_url": "https://www.drawdecisiontree.com/trees/testing/untitled-20/tree.json",
"dsl_url": "https://www.drawdecisiontree.com/trees/testing/untitled-20/tree.dag"
},
"meta": {
"description": null,
"mode": "decision",
"entry": "Q1",
"tags": [],
"image": null
},
"questions": [
{
"id": "Q1",
"text": "Do you need a persistent store?"
},
{
"id": "Q2",
"text": "Is the data relational?"
}
],
"outcomes": [
{
"id": "OUT_CACHE",
"label": "Use an in-memory cache"
},
{
"id": "OUT_SQL",
"label": "Use a SQL database"
},
{
"id": "OUT_DOC",
"label": "Use a document database"
}
],
"dsl": "dag: e2e-regression\nversion: 1.0.0\nentry: Q1\n\nQ1: Do you need a persistent store?\n yes -> Q2\n no -> [OUT_CACHE]\n\nQ2: Is the data relational?\n yes -> [OUT_SQL]\n no -> [OUT_DOC]\n\n[OUT_CACHE]: Use an in-memory cache\n[OUT_SQL]: Use a SQL database\n[OUT_DOC]: Use a document database\nregression-mv77c2cv"
}DSL Representation
dag: e2e-regression
version: 1.0.0
entry: Q1
Q1: Do you need a persistent store?
yes -> Q2
no -> [OUT_CACHE]
Q2: Is the data relational?
yes -> [OUT_SQL]
no -> [OUT_DOC]
[OUT_CACHE]: Use an in-memory cache
[OUT_SQL]: Use a SQL database
[OUT_DOC]: Use a document database
regression-mv77c2cv
Machine Access
- Static JSON:
/trees/testing/untitled-20/tree.json - Live JSON (SPA):
/json/testing/untitled-20 - Raw DSL:
/trees/testing/untitled-20/tree.dag - Canonical HTML:
/trees/testing/untitled-20
Questions in this decision tree
- Do you need a persistent store?
- Is the data relational?
Possible outcomes
- Use an in-memory cache
- Use a SQL database
- Use a document database
How to use this decision tree
Click "Open interactive version" to step through the questions. Your answers narrow the tree until a recommended outcome is reached. You can also embed this tree on your own site.
More decision trees by Regression Tester
e2e-regression
Public interactive decision tree.
untitled.dag
Public interactive decision tree.
regression-crud-mv77zfqv
Public interactive decision tree.
regression-crud-mv77yrtp
Public interactive decision tree.
untitled.dag
Public interactive decision tree.
regression-crud-mv77bjji
Public interactive decision tree.