Load the initial default graph.
(self, file_path)
| 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.""" |