react-craft-ai-decision-tree
v0.1.3
Published
React component to display craft ai decision tree
Downloads
295
Maintainers
Readme
react-craft-ai-decision-tree
Demo
Installation
Node.js / Webpack
Using npm:
$ npm install --save react-craft-ai-decision-tree
In your sources:
import DecisionTree from 'react-craft-ai-decision-tree';
Plain Old Javascript
Thanks to unpkg, you can include the pre-generated bundle in your html file, for the latest version use
<script src="https://unpkg.com/react@15/dist/react.min.js"></script>
<script src="https://unpkg.com/react-dom@15/dist/react-dom.min.js"></script>
<script src="https://unpkg.com/[email protected]_VERSION"></script>
See this example.
:warning: Make sure a specific version of react-craft-ai-decision-tree
is used to avoid any retrocompatibility issue.
Usage
:construction: