MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / build_graph_structure

Method build_graph_structure

workflow/graph_manager.py:26–32  ·  view source on GitHub ↗

Build the complete graph structure including nodes, edges, and layers.

(self)

Source from the content-addressed store, hash-verified

24 self.cycle_manager = CycleManager()
25
26 def build_graph_structure(self) -> None:
27 """Build the complete graph structure including nodes, edges, and layers."""
28 self._instantiate_nodes()
29 self._initiate_edges()
30 self._determine_start_nodes()
31 self._warn_on_untriggerable_nodes()
32 self._build_topology_and_metadata()
33
34 def _instantiate_nodes(self) -> None:
35 """Instantiate all nodes from configuration."""

Callers 2

_build_subgraphMethod · 0.95
build_graphMethod · 0.95

Calls 5

_instantiate_nodesMethod · 0.95
_initiate_edgesMethod · 0.95

Tested by

no test coverage detected