# rule-builder-client

> Build serialisable flowchart-style decision trees with D3

Latest version **0.0.1** (published 2017-08-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install rule-builder-client
pnpm add rule-builder-client
yarn add rule-builder-client
bun add rule-builder-client
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-08-11 |
| First published | 2017-08-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18 |
| Author | danwild@y7mail.com |
| Maintainers | danwild |
| Keywords | d3, flowchart, decision-tree |

## Links

- npm: https://www.npmjs.com/package/rule-builder-client
- Repository: https://github.com/danwild/rule-builder-client
- Homepage: https://github.com/danwild/rule-builder-client#readme
- Issues: https://github.com/danwild/rule-builder-client/issues
- npm.io page: https://npm.io/package/rule-builder-client

## Dependencies (1)

- [d3](https://npm.io/package/d3.md) ^4.10.0

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2017-08-11

## README

# decision-tree-builder

A tool to build data classification rules using visual flowchart-style decision tree.
Uses [d3.js v4](https://d3js.org/) 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

---
_Source: https://npm.io/package/rule-builder-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
