~~DISCUSSION~~ ====== Network Topology ====== {{ networktopologies.png?300}} A [[wp>Network_topology|Network Topology]] is the arrangement of the elements (links, nodes, etc.) of a communication network. There is no ideal network topology; each have their [[https://www.comparitech.com/net-admin/network-topologies-advantages-disadvantages/ |pros and cons]] depending on the application. ===== Current Topology ===== As of August 2, 2025, our network topology looks like this:((In Firefox, you can view the topology diagram better by right clicking on the image and selecting ''This Frame -> Open Frame in New Tab''. Then, C-+ will zoom in and C+- will zoom out.)) {{ :setups:topology:20250802_diagram.svg |}} ====== About the Diagram ====== It takes three steps to create the diagram above: - Create a text file of the topology using a python script (quick). - Import that text file into [[https://app.diagrams.net]] (quick). - Format it so that the edges (links) do not intersect too much (slow). ===== Python Script ===== The Python script can be downloaded from [[https://github.com/va7fi/AREDN-Topology |GitHub]]. * It loads the json files of all the nodes visible from a given station. * Here is an example of what the json file looks like: [[AREDN>http://VE7NA-RADIO-ROOM.local.mesh/cgi-bin/sysinfo.json?link_info=1&hosts=1]]. * Once the script has all the nodes' json files in memory, it creates output text files that summarizes some of the information. ===== diagrams.net AKA draw.io ===== From [[wp>diagrams.net]]: **diagrams.net** (previously **draw.io**) is a free and open source cross-platform graph drawing software developed in HTML5 and JavaScript. diagrams.net is available as online as cross-browser web app, and as offline desktop application for Linux, macOS, and Windows. The web app does not require online login or registration, and can open from and save to the local hard drive. To create a chart from the output of the python script: * Go to [[https://app.diagrams.net]] * Select ''Save diagrams to: Device'' * ''Create New Diagrams'' * Create a ''Blank Diagram'' * Click the ''+'' sign in the tool bar at the top * Select ''Advanced'' -> ''From Text...'' * Select ''Diagram'' instead of ''List'' * Replace the example with the output from the script and click ''Insert'' * Click ''Edit'' -> ''Select Edges'' * On the right hand side, replace the arrows by lines.