Generate more realistic graph, render to SVG

This commit is contained in:
Pascal Engélibert 2025-10-12 19:23:33 +02:00
commit f2798a14d4
7 changed files with 366 additions and 131 deletions

View file

@ -4,6 +4,8 @@ A simple program to generate and run random topologies of [Reticulum](https://re
The purpose is to test routing and applications easily.
![Graph of 50 nodes, with some highly connected clusters and more isolated parts.](graph.svg)
You can contact `tuxmain` on the Reticulum Matrix channel for any request.
Development status: Early development, just for fun, to tinker with Reticulum and learn about mesh networks.
@ -31,6 +33,10 @@ Option `--gen` (or `-g`) generates the network graph and creates the directories
Option `--run` (or `-r`) runs the generated nodes using `rnsd`. (tries to run for any subdirectory in the directory passed to `-d`)
Tune the graph density with the `-p <float>` option that accepts an edge probability number between 0 and 1.
When generating a graph, option `-R <path>` renders the graph to an SVG image. (may take some time to compute, depending on the number of nodes)
The network can then be tested using RNS tools: (from reticulum repository)
```