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

Method load_last_file

src/data/file_operations.py:135–141  ·  view source on GitHub ↗

Load the last opened file or default graph.

(self)

Source from the content-addressed store, hash-verified

133 return False
134
135 def load_last_file(self):
136 """Load the last opened file or default graph."""
137 last_file = self.settings.value("last_file_path", None)
138 if last_file and os.path.exists(last_file):
139 return self.load(file_path=last_file)
140 else:
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."""

Callers 1

__init__Method · 0.80

Calls 2

loadMethod · 0.95
load_initial_graphMethod · 0.95

Tested by

no test coverage detected