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

Method __init__

src/ui/editor/node_editor_window.py:35–48  ·  view source on GitHub ↗
(self, parent=None)

Source from the content-addressed store, hash-verified

33 """Main application window for PyFlowGraph node editor."""
34
35 def __init__(self, parent=None):
36 super().__init__(parent)
37 self.setGeometry(100, 100, 1800, 1000)
38
39 # Initialize core components
40 self._setup_core_components()
41 self._setup_ui()
42 self._setup_managers()
43 self._setup_command_system()
44
45 # Load initial state
46 if self.file_ops.load_last_file():
47 # Restore view state for the loaded file
48 self.view_state.load_view_state()
49
50 def _setup_core_components(self):
51 """Initialize the core graph and view components."""

Callers

nothing calls this directly

Calls 6

_setup_uiMethod · 0.95
_setup_managersMethod · 0.95
_setup_command_systemMethod · 0.95
load_last_fileMethod · 0.80
load_view_stateMethod · 0.80

Tested by

no test coverage detected