An open API service indexing awesome lists of open source software.

https://github.com/peer-base/peer-star-network-vis-react

Network and Stats Visualization for a peer-star-app collaboration
https://github.com/peer-base/peer-star-network-vis-react

Last synced: 11 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# peer-star-network-vis-react

React Component for [Peer-\*](https://github.com/ipfs-shipyard/peer-star-app) collaboration network.

[![made by Protocol Labs](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai)

![Example video](docs/example-video.gif)

## Example

```js
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:

```

## Styling

This component relies on some CSS classes that are defined in [the Bootstrap framework](https://getbootstrap.com).

## 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](https://github.com/ipfs-shipyard/peer-star-network-vis).

## License

MIT