webql/assembler/scheduler/topology

Copy Markdown

Types

Graph

pub type Graph {
  Graph(dependencies: dict.Dict(String, set.Set(String)))
}
Graph(dependencies: dict.Dict(String, set.Set(String)))

Values

topology

pub fn topology(
  graph: Graph,
) -> Result(List(List(String)), diagnostic.Diagnostic)

Topologically sorts a graph into batches of node names.