tetherless-world / mowgli-etl

DARPA Machine Common Sense (MCS) Multi-modal Open World Grounded Learning and Inference (MOWGLI) Extract-Transform-Load sub-project
MIT License
6 stars 1 forks source link

GUI: go to a random node #131

Closed gordom6 closed 4 years ago

gordom6 commented 4 years ago

https://community.neo4j.com/t/returning-a-random-subset-of-nodes-ideally-repeatable/8223

gordom6 commented 4 years ago

Implemented the back end for this as randomNode.

gordom6 commented 4 years ago

Created a new /randomNode URL in the front end and a page that goes from there to push history for the random node once it's retrieved from the backend. I find this preferable to getting the random node ID in the background on the button click. That way you can always go to /randomNode as a bookmarkable URL.