提供支持django rest framework的viewflow
Project description
viewflow-rest
provide restful viewflow
many of code in the project looks like django-viewflow. I want to keep the interface as same as the django viewflow.
Thanks you for all the contributors of viewflow.
The project is under GPL-3.0 License, any one who change the source code (even if you just use it in intranet of just at home) should upload his code
The develop vedio can been seen here
- create project
- create Flow
- Create Start & End Node
- Create ViewActivation
- Create If Node
- Create Split Node
- Create Join Node
- Create Permission
workflow
A flow contains many nodes
every node is a instance of Node
every node have a activation_class
every action_class
instance will activate_next
by
self.flow_task._next // the next node instance
self.flow_task._next.activate //
Edge
- src: source Node instance
- dst: target Node instance
activations
- Attribute
flow_class
flow_task
: Node Instance defined in theflows.py
task
: Current Task
Nodes
- Function
_incoming
: Edge Instance list_outgoing
: Edge Instance list
-
models
-
Views
-
Flow
-
rest_extensions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
viewflow-rest-0.3.0.tar.gz
(10.4 kB
view hashes)
Built Distribution
Close
Hashes for viewflow_rest-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1743ce5d7a48430effe1ef8cf8b309409503c5c801a2b74e90b645cd9eb83cca |
|
MD5 | 291e83fe3f2102c05a69956a7f61d181 |
|
BLAKE2b-256 | b0dc1ccc1ba2873c82d59a6a04e7f246ea5398031550b6c84087bd575d4e0600 |