Barista::Graph
Inherits Reference < Object
A simple Directed Acyclic Graph
Constructors
new(nodes : Array(String) = [] of String, vertices : Hash(String, Barista::Graph::Vertex) = {} of String => Vertex)
SourceInstance methods
add(node : Symbol)
Sourceadd_edge(from : Symbol, to : Symbol)
Sourcefilter(names, result = names.dup)
Fetch a flat list of dependencies given an array of task names
nodes
Sourcevertices
Source