View Source Lightning.Graph (Lightning v2.10.4)

A graph model for workflows transversal.

Summary

Types

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

Functions

Link to this function

add_edge(graph, from, to)

View Source
@spec add_edge(t(), atom(), atom()) :: 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()