View Source Fountainedge (Fountainedge v1.0.7)

Workflow engine.

A basic understanding of graph theory would elucidate an intuitive grasp of this package.

Link to this section Summary

Functions

Returns a list of out edge nodes that are valid transitions.

Returns a list of out edges that are valid transitions.

Transition between nodes along an edge.

Link to this section Functions

Link to this function

out_edge_nodes(workflow)

View Source

Returns a list of out edge nodes that are valid transitions.

Same as out_edges/1, but with the nodes also for convenience.

Returns a list of out edges that are valid transitions.

The out edge is an edge leading out of a current node.

Then pass the chosen edge into Fountainedge.transition/2.

Link to this function

transition(workflow, edge)

View Source

Transition between nodes along an edge.

The current nodes are tracked as a state, and parallel processess are tracked using tokens.

A valid out edge must be given.