Add left node-library dock (grouped, searchable, drag-and-drop vector symbols), right property dock with type-aware grouped editors (incl. geometry, catalogue single/multi, color, value list), zoom/pan/fit canvas view accepting node drops, flow animator, configuration dialog, and the MainWindow wiring menus/toolbar, undo/redo, delete/duplicate, calculate flow, save/open (JSON), and PNG/SVG export. Includes a demo sample network, entry points, and panel + app integration tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
23 lines
491 B
Python
23 lines
491 B
Python
"""Application entry point."""
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
|
|
from PyQt6.QtWidgets import QApplication
|
|
|
|
from .main_window import MainWindow
|
|
|
|
|
|
def main(argv=None) -> int:
|
|
argv = list(sys.argv if argv is None else argv)
|
|
app = QApplication(argv)
|
|
app.setApplicationName("Pipeline Network Editor")
|
|
window = MainWindow()
|
|
window.load_sample()
|
|
window.show()
|
|
return app.exec()
|
|
|
|
|
|
if __name__ == "__main__": # pragma: no cover
|
|
raise SystemExit(main())
|