rule-builder-client

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i rule-builder-client

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • danwild