rule-builder-client
v0.0.1
Published
Build serialisable flowchart-style decision trees with D3
Downloads
1
Readme
decision-tree-builder
A tool to build data classification rules using visual flowchart-style decision tree. Uses d3.js v4 for SVG drawing.
terminology
- Property: a (data) attribute being evaluated as part a decision (e.g. Property: "animal")
- Value: a value being used in a conditional statement to evaluate a property (e.g. does Property "animal" equal the Value "cat")
- Operator: the logical operator used to evaluate a properties value (e.g. "equals", "less than" etc.)
- Decision: a conditional operation determining which of two paths the program will take
- Result Node: aka a leaf node, represents the final result when an input is evaluated by the decision tree
todo
- start drafting API..
- Interaction flow, somewhere to start:
- User click node to add/edit
- Select a property
- Select an operator
- Select a value
- Cancel / Add / Update
- Interaction flow, somewhere to start: