# `Runic.Workflow.Serializers.Edgelist`
[🔗](https://github.com/zblanco/runic/blob/main/lib/workflow/serializers/edgelist.ex#L1)

Serializes Runic Workflows to simple edgelist format.

Produces a list of tuples `{from, to, label}` or a string with one edge per line.

## Examples

    # Get list of edge tuples
    edges = Runic.Workflow.Serializers.Edgelist.serialize(workflow)
    # => [{:root, :tokenize, :flow}, {:tokenize, :count_words, :flow}, ...]

    # Get string format
    str = Runic.Workflow.Serializers.Edgelist.to_string(workflow)
    # => "root -> tokenize [flow]\ntokenize -> count_words [flow]\n..."

# `to_string`

Returns a string representation of the edgelist.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
