Added the number of nodes and edges the query results returns to the Counters component.
Why
Apart from the visualization support, as a user, I'd like to see how large are the results of my query in terms of elements.
How
The Counters component already allows you to pass any counters you want so I'm just passing them as part of the props.
Screenshot
NOTE: I added some highlighting class to the Counters component itself that might not be ideal because it relies of the indexes of the array passed as a prop. Other solutions to be able to color the subgraph counters and still keeps the Counters component general enough are welcome. We can also flag this as temporary for now.
What
Why
How
Screenshot
NOTE: I added some highlighting class to the Counters component itself that might not be ideal because it relies of the indexes of the array passed as a prop. Other solutions to be able to color the subgraph counters and still keeps the Counters component general enough are welcome. We can also flag this as temporary for now.