Describe the bug
Real-time updates using websockets does not work on the visualizer view.
Steps To Reproduce
-
Go to http://127.0.0.1:8000/admin/topology/topology/add/ and create a Topology object
-
Open the visualizer view for this topology by clicking on "View on Site" button in the image below

-
In another tab, add a node for this topology by going to http://127.0.0.1:8000/admin/topology/node/add/
Expected behavior
The topology graph is updated with new node
Actual outcome
The topology graph is not updated and an error is shown in the browser console

System Informatioon:
- OS: Ubuntu 20.04
- Python Version: Python 3.10
- Django Version: Django 4.2
- Browser and Browser Version (if applicable): Chromium 134.0.6998.165 snap
Describe the bug
Real-time updates using websockets does not work on the visualizer view.
Steps To Reproduce
Go to http://127.0.0.1:8000/admin/topology/topology/add/ and create a Topology object
Open the visualizer view for this topology by clicking on "View on Site" button in the image below

In another tab, add a node for this topology by going to http://127.0.0.1:8000/admin/topology/node/add/
Expected behavior
The topology graph is updated with new node
Actual outcome
The topology graph is not updated and an error is shown in the browser console
System Informatioon: