Metadata-Version: 2.1
Name: node_graph
Version: 0.0.7
Summary: Create node-based workflow
Home-page: https://github.com/scinode/node-graph
Author: Xing Wang
Author-email: xingwang1991@gmail.com
License: MIT License
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: click
Requires-Dist: pyyaml
Requires-Dist: colorama
Requires-Dist: termcolor
Requires-Dist: cloudpickle

# NodeGraph
[![PyPI version](https://badge.fury.io/py/node-graph.svg)](https://badge.fury.io/py/node-graph)
[![Unit test](https://github.com/scinode/node-graph/actions/workflows/unit_test.yaml/badge.svg)](https://github.com/scinode/node-graph/actions/workflows/unit_test.yaml)
[![Docs status](https://readthedocs.org/projects/node-graph/badge)](http://node-graph.readthedocs.io/)



A platform for designing node-based workflows.


```console
    pip install --upgrade --user node_graph
```


## Documentation
Check the [docs](https://node_graph.readthedocs.io/en/latest/) and learn about the features.

## Examples
**A simple math calculation**

```python
from node_graph import NodeGraph
nt = NodeGraph(name="example")
float1 = nt.nodes.new("Float", value=2.0)
float2 = nt.nodes.new("Float", value=3.0)
add1 = nt.nodes.new("Operator", operator="+")
nt.links.new(float1.outputs[0], add1.inputs[0])
nt.links.new(float2.outputs[0], add1.inputs[1])
ntdata = nt.to_dict()
```

## License
[MIT](http://opensource.org/licenses/MIT)
