|
|
|
# iMove
|
|
|
|
|
|
|
|
<div align="center">
|
|
|
|
<img src="https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=3874775950,1064987171&fm=26&gp=0.jpg" width="200px">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
iMove is a logic-reusable, function-oriented and process visualized JavaScript tool library.
|
|
|
|
|
|
|
|
## Features
|
|
|
|
|
|
|
|
- [x] **Process visualization:** easy to draw flow chart, logical expression is more intuitive and easy to understand
|
|
|
|
- [x] **Logic re-usage:** iMove nodes support re-using, and every node is configurable
|
|
|
|
- [x] **Flexible**: only the code is required, each iMove node is extendable and plugin can be integrated
|
|
|
|
- [ ] **Multi-language compilation**: no language compilation limitation (e.g. supports JavaScript, Java compilation)
|
|
|
|
|
|
|
|
## Get started
|
|
|
|
|
|
|
|
### Step 1. Prepare
|
|
|
|
|
|
|
|
Download this project, install dependencies and start the example.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
git clone https://github.com/imgcook/imove.git
|
|
|
|
cd example
|
|
|
|
npm install
|
|
|
|
npm start
|
|
|
|
```
|
|
|
|
|
|
|
|
### Step 2. Draw a flowchart
|
|
|
|
|
|
|
|
Drag nodes from the left panel and drop them into the center to draw a flowchart.
|
|
|
|
|
|
|
|
![flowchart](https://img.alicdn.com/tfs/TB1aoYe4pP7gK0jSZFjXXc5aXXa-3090-1806.jpg)
|
|
|
|
|
|
|
|
### Step 3. Config iMove nodes
|
|
|
|
|
|
|
|
Select node, change node's display name and completes code editing.
|
|
|
|
|
|
|
|
![flowchart-usage1](https://img.alicdn.com/tfs/TB1z6DKoZieb18jSZFvXXaI3FXa-1924-1125.png)
|
|
|
|
|
|
|
|
![flowchart-usage2](https://img.alicdn.com/tfs/TB1lC26tTM11u4jSZPxXXahcXXa-1924-1125.png)
|
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
|
|
|
1. Fork it
|
|
|
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
|
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
|
|
4. Push to the branch (`git push origin my-new-feature`)
|
|
|
|
5. Create new Pull Request
|
|
|
|
|
|
|
|
## Welcome fork and feedbacks
|
|
|
|
|
|
|
|
If you have suggestion, welcome github [issues](https://github.com/imgcook/imove/issues).
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
This repo is released under the [MIT License](http://www.opensource.org/licenses/MIT).
|