Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.21 KB

MEMBERSHIP-SIM.md

File metadata and controls

24 lines (14 loc) · 1.21 KB

peer-star-app - Collaboration Membership Simulator

Peer Star App comes with a simple collaboration membership simulator at sim/index.html

Image of Simulator

Usage

Demo video (2 minutes) To run the simulator just open sim/index.html

Peers send two kinds of messages

  1. the hash of the peer's view of collaboration membership, represented by an empty circle
  2. the CRDT state of the peer's view of collaboration membership, represented by filled circles (one for each member)

Add nodes by clicking on the + Add node button at the top right.

By default peers are laid out equidistantly along a circle. Layout Evenly and Organic buttons switch between equidistant and actual distance in the network ring.

The Dias set connections checkbox toggles whether to show connections between peers (connections are made according to the peer's Dias set)

Development

Run yarn sim:watch to compile changes to the code. This will also watch for any further changes to files included by the simulator and compile them automatically.