|
@ -88,6 +88,15 @@ class Network extends Component { |
|
|
|
|
|
|
|
|
return ( |
|
|
return ( |
|
|
<div className={styles.container}> |
|
|
<div className={styles.container}> |
|
|
|
|
|
{ |
|
|
|
|
|
!network.networkLoading && |
|
|
|
|
|
<section className={styles.stats}> |
|
|
|
|
|
<span>{network.nodes.length} nodes</span> |
|
|
|
|
|
<span>|</span> |
|
|
|
|
|
<span>{network.edges.length} channels</span> |
|
|
|
|
|
</section> |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
<CanvasNetworkGraph |
|
|
<CanvasNetworkGraph |
|
|
className={styles.network} |
|
|
className={styles.network} |
|
|
network={network} |
|
|
network={network} |
|
|