Skip to content

Network and Stats Visualization for a peer-star-app collaboration

Notifications You must be signed in to change notification settings

peer-base/peer-star-network-vis-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

peer-star-network-vis-react

React Component for Peer-* collaboration network.

made by Protocol Labs

Example video

Example

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} />

Styling

This component relies on some CSS classes that are defined in the Bootstrap framework.

Modifying

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.

License

MIT

About

Network and Stats Visualization for a peer-star-app collaboration

Resources

Stars

Watchers

Forks

Packages

No packages published