Skip to content

web_ui

Flask-based web UI for visualizing the sync graph.

Classes:

  • WebUi

    Web UI server for real-time sync graph visualization.

WebUi

WebUi()

Web UI server for real-time sync graph visualization.

Warning: The web UI is currently using a Flask development server, which is not secure or particularly performant. It is recommended to run the web UI only in trusted environments.

This component serves a web UI on http://0.0.0.0:5000 and pushes real-time updates to the UI via WebSockets whenever the sync graph is updated.

Methods:

  • run

    Start the web server in a background thread.

  • update

    Push updated graph data to connected clients via WebSockets.

run

run()

Start the web server in a background thread.

update

update(sg: SyncGraph)

Push updated graph data to connected clients via WebSockets.