graph

package
v0.44.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package graph resolves the execution order from the workflow's graph.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Levels

func Levels(w wf.Workflow) ([][]string, error)

Niveis returns the nodes grouped by topological level: everything at level N can run in parallel, and level N+1 only starts when N finishes.

Grouping by level, rather than returning a linear list, is what preserves the declared parallelism. A plain topological sort would serialize gold_metrics and gold_users, which are independent.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL