MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / collect_executable_nodes

Method collect_executable_nodes

core/src/workflow.rs:2857–2861  ·  view source on GitHub ↗

Helper method to collect nodes in executable order

(graph: &WorkflowGraph)

Source from the content-addressed store, hash-verified

2855
2856 /// Helper method to collect nodes in executable order
2857 fn collect_executable_nodes(graph: &WorkflowGraph) -> GraphBitResult<Vec<WorkflowNode>> {
2858 // Simple topological sort - can be enhanced for better parallelism
2859 let nodes: Vec<WorkflowNode> = graph.get_nodes().values().cloned().collect();
2860 Ok(nodes)
2861 }
2862
2863 /// Format LLM output for streaming lifecycle events.
2864 /// If tool calls are present, append them so function-call fragments are visible

Callers

nothing calls this directly

Calls 1

get_nodesMethod · 0.80

Tested by

no test coverage detected