MCPcopy Create free account
hub / github.com/bhowiebkr/PyFlowGraph / load_initial_graph

Method load_initial_graph

src/data/file_operations.py:143–149  ·  view source on GitHub ↗

Load the initial default graph.

(self, file_path)

Source from the content-addressed store, hash-verified

141 return self.load_initial_graph("examples/password_generator_tool.md")
142
143 def load_initial_graph(self, file_path):
144 """Load the initial default graph."""
145 if os.path.exists(file_path):
146 return self.load(file_path=file_path)
147 else:
148 self.output_log.append(f"Default graph file not found: '{file_path}'. Starting with an empty canvas.")
149 return False
150
151 def _save_file(self, file_path: str):
152 """Save the graph to .md format."""

Callers 1

load_last_fileMethod · 0.95

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected