View Source Lightning.Graph (Lightning v2.10.15)

A graph model for workflows transversal.

Summary

Types

@type t() :: %Lightning.Graph{edges: MapSet.t(), nodes: MapSet.t()}

Functions

@spec add_edge(t(), Lightning.Workflows.Edge.t()) :: t()
@spec new() :: t()
Link to this function

nodes(graph, opts \\ [as: []])

View Source
@spec prune(t(), any()) :: t()
Link to this function

remove_edges(graph, edges)

View Source
@spec remove_edges(t(), [{any(), any()}]) :: t()
Link to this function

traverse(map, trigger_id)

View Source