How qoala101/ponc works
PONC is a desktop graphical tool for designing Passive Optical Network layouts and finding cost-effective splitter combinations. Engineers edit diagrams of inputs, splitters, and clients; the application updates and visualizes flow, offers analytical navigation, and can calculate optimized layouts. The graph separates diagram editing, domain state, flow and calculation, and persistence/presentation. The README documents major capabilities; several links between unsampled components are therefore documented at product level rather than verified from their implementation.
Main entry points: coreui_diagram.cc Diagram editing · coreui_project.cc Project interaction · draw_main_menu_bar.cc Application menu · core_diagram.cc Network diagram
Components 20
Application
- Application setup
src/app/app_impl.cc
Network model
- Project state
src/core/core_project.cc - Network diagram
src/core/core_diagram.cc - Network devices
include/core/core_i_node.h - Device families
src/app/family_group/app_client_family_group.cc - Connections and links
src/core/core_link.cc - Network settings
src/core/core_settings.cc
Flow and optimization
- Flow propagation
src/flow/flow_algorithms.cc - Flow tree
src/flow/flow_tree_traversal.cc - Layout calculator
src/calc/calc_calculator.cc - Calculation resolution
src/calc/calc_resolution.cc
Editing and views
- Project interaction
src/coreui/coreui_project.cc - Diagram editing
src/coreui/coreui_diagram.cc - Device presentation
src/draw/diagram/draw_node.cc - Analytical views
src/draw/view/draw_calculator_view.cc - Application menu
src/draw/draw_main_menu_bar.cc
Project persistence
- Project JSON
src/json/json_project_serializer.cc - Device-family parsing
src/json/json_i_family_parser.cc - Project file dialogs
src/draw/dialog/draw_open_file_dialog.cc
Other components
- Telecom engineer
Connections 22
- Telecom engineer → Application setup: uses
- Application setup → Project interaction: opens
- Telecom engineer → Diagram editing: edits layouts
- Diagram editing → Network diagram: updates
src/coreui/coreui_diagram.cc - Network diagram → Network devices: stores
src/core/core_diagram.cc - Network diagram → Connections and links: stores
src/core/core_diagram.cc - Device families → Network devices: creates devices
src/app/family_group/app_client_family_group.cc - Telecom engineer → Device families: selects devices
- Diagram editing → Flow propagation: updates flow
src/coreui/coreui_diagram.cc - Flow propagation → Flow tree: builds trees
src/flow/flow_algorithms.cc - Diagram editing → Flow tree: shows flow
- Telecom engineer → Layout calculator: requests optimization
- Layout calculator → Calculation resolution: evaluates layouts
src/calc/calc_calculator.cc - Layout calculator → Network settings: uses constraints
- Project interaction → Diagram editing: manages diagrams
- Application menu → Project interaction: controls project
src/draw/draw_main_menu_bar.cc - Application menu → Analytical views: opens views
src/draw/draw_main_menu_bar.cc - Diagram editing → Device presentation: renders devices
src/draw/diagram/draw_node.cc - Project interaction → Project JSON: loads and saves
- Project JSON → Device-family parsing: parses families
- Application menu → Project file dialogs: opens files
src/draw/draw_main_menu_bar.cc - Project file dialogs → Project JSON: loads projects