This iteration add an interaction that opens the block represented by a node when you click on that node
In this iteration, we load json data from a static file. This json data is produced by the REST API of a neo4j graph database that contains the d3 example README citation graph, in response to a query that we post to it.
This query finds all of the blocks from user enjalot
that mention blocks or are mentioned themselves. Then, we show those blocks as well as all 1st degree connections
MATCH(n)-[:LINKS_TO]-(m)
WHERE n.user =~ '.*enjalot.*'
RETURN n, m
see also
the parent project for blockbuilder graph search ui prototypes
https://github.com/micahstubbs/bbgs-ui-prototypes
the blockbuilder graph search neo4j graph database source data & config backend project https://github.com/micahstubbs/blockbuilder-graph-search-index
https://cdnjs.cloudflare.com/ajax/libs/d3/4.10.0/d3.js