Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vyzo/gerbil-netvis
A simple network visualizer for pubsub message propagation
https://github.com/vyzo/gerbil-netvis
gerbil ipfs pubsub
Last synced: 8 days ago
JSON representation
A simple network visualizer for pubsub message propagation
- Host: GitHub
- URL: https://github.com/vyzo/gerbil-netvis
- Owner: vyzo
- Created: 2018-10-15T14:21:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-15T14:23:29.000Z (about 6 years ago)
- Last Synced: 2024-12-09T22:24:44.631Z (16 days ago)
- Topics: gerbil, ipfs, pubsub
- Language: Scheme
- Size: 1.95 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gerbil NetVis
This is a simple network visualizer for pubsub message propagation using [cairo](https://github.com/vyzo/gerbil-cairo); see [gerbil-simsub](https://github.com/vyzo/gerbil-simsub) for the network simulator driving the visualization.
# Usage
```
(import :vyzo/simsub/scripts :vyzo/netvis);; capture random seed for reproducible graphs
(def seed (random-source-state-ref default-random-source))
(simple-floodsub-simulation messages: 1 fanout: 1 transcript: (save-transcript-to-file "/tmp/floodsub.out"))(random-source-state-set! default-random-source seed)
(simple-gossipsub-simulation messages: 1 fanout: 1 transcript: (save-transcript-to-file "/tmp/gossipsub.out"))(animate-floodsub! "/tmp/floodsub.out" 100)
(animate-gossipsub! "/tmp/gossipsub.out" 100)
```# License
MIT; © vyzo 2018