Skip to contents

Constructors

Functions to create and initialize graphs and registries.

dagri_kind()
Define a dagriculture kind
dagri_registry()
Define a dagriculture registry
dagri_graph()
Create an empty dagriculture graph

Graph Editing

Functions to structurally modify nodes, edges, and gates.

dagri_add_node()
Add a node to a dagriculture graph
dagri_update_node()
Update a node in a dagriculture graph
dagri_remove_node()
Remove a node from a dagriculture graph
dagri_add_edge()
Add an edge to a dagriculture graph
dagri_remove_edge()
Remove an edge from a dagriculture graph
dagri_add_gate()
Add a gate to a dagriculture graph
dagri_resolve_gate()
Resolve a gate in a dagriculture graph
dagri_reopen_gate()
Reopen a gate in a dagriculture graph
dagri_remove_gate()
Remove a gate from a dagriculture graph

Queries and Topology

Accessors and topological traversal functions.

dagri_node()
Get a node from a dagriculture graph
dagri_edge()
Get an edge from a dagriculture graph
dagri_gate()
Get a gate from a dagriculture graph
dagri_nodes()
Get all nodes
dagri_edges()
Get all edges
dagri_gates()
Get all gates
dagri_upstream()
Get upstream nodes
dagri_downstream()
Get downstream nodes
dagri_ancestors()
Get all ancestors
dagri_descendants()
Get all descendants
dagri_has_path()
Check path existence
dagri_roots()
Get graph roots
dagri_leaves()
Get graph leaves
dagri_topo_order()
Get topological order

State and Planning

Functions to resolve structural conditions and produce graph execution plans.

dagri_recompute_state()
Recompute graph state
dagri_eligible()
Get eligible nodes
dagri_blocked()
Get blocked nodes
dagri_terminal()
Get terminal nodes
dagri_target_closure()
Get the structural closure of target nodes
dagri_pending_gates()
Get pending gates
dagri_plan()
Create a structural plan

Internals

Package internal utilities.

abort_dagri()
Abort with a typed dagriculture error