React Component for Peer-* collaboration network.
import PeerStar from 'peer-star-app'
import NetworkVis from 'peer-star-network-vis-react'
dApp = PeerStar('my app')
await dApp.start()
collaboration = await dApp.collaborate('collaboration name', ...)
// inside react component.render:
<NetworkVis collaboration={collaboration} />
This component relies on some CSS classes that are defined in the Bootstrap framework.
If you find those class names, the layout or the markup not suitable to you, perhaps you can instead use this component as an example and use the underlying d3 network visualization canvas in peer-star-network-vis.
MIT