https://github.com/nicolas63/workflowstate
Simple workflow management
https://github.com/nicolas63/workflowstate
csharp dotnet dotnet-standard graph nuget state workflow
Last synced: 3 months ago
JSON representation
Simple workflow management
- Host: GitHub
- URL: https://github.com/nicolas63/workflowstate
- Owner: nicolas63
- License: mit
- Created: 2018-02-03T14:57:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-12T21:05:28.000Z (about 7 years ago)
- Last Synced: 2024-11-23T05:42:15.861Z (8 months ago)
- Topics: csharp, dotnet, dotnet-standard, graph, nuget, state, workflow
- Language: C#
- Homepage:
- Size: 62.5 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## What is WorkflowState ?
Simple workflow management
## Package & Status
Package | Build status | NuGet
-------- | ------------ | ------------
WorkflowState.Core |  | [](https://www.nuget.org/packages/WorkflowState.Core/)## How do I get started?
### Install the package
```
Install-Package WorkflowState.Core
```### Configure your workflow
```csharp
workflow.Configure(conf =>
{
conf.CreateTransition(startState, endState, trigger);
});
```### Use it
```csharp
var stateInformation = workflow.GetNextState(startState, trigger);
```### Exporting your workflow
```csharp
var graph = GraphHelper.ExportWorkflow(workflow);
```### Visualize your workflow on site who draw dot graph like https://dreampuf.github.io/GraphvizOnline/

## Contributing
A good way to get started (flow)
1. Fork the WorkflowState repos.
1. Create a new branch in you current repos from the 'master' branch.
1. 'Check out' the code with Git
1. Check [contributing.md](CONTRIBUTING.md)
1. push commits and create a Pull Request (PR) to WorkflowState## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details