Skip to content

Instantly share code, notes, and snippets.

@hynek2001
Created October 1, 2017 16:28
Show Gist options
  • Save hynek2001/531c8713a12b15da2378d0059711116c to your computer and use it in GitHub Desktop.
Save hynek2001/531c8713a12b15da2378d0059711116c to your computer and use it in GitHub Desktop.
tst
answers:
1. It is part of project, to visualise communication between processes on server. I am
coming to freelancer, because i need visualisation layer.
example of usage:
1)userX will open web page (i am puting as example what popotojs shared)http://www.popotojs.com/live/simple-graph/index.html .
library will take as parameter cypher query, and will show graph`
indenpendently on step 1
neo4j db is continously updated by external processes
if there is some change, database shall triger event towards all connected web clients.
Web clients will update node/edge, which are visible.
if event is coming for not visible edge/node, such event shall be discarded..
there is 1 thing , which bother me. as i said before, that visualisation is based on cypher query.
What if there is i.e new node, or edge, which was not in database before, but still i want, that page
will update visualisation in way, it will apeer. Honestly i dont know howto do it. think about it pls
I belive we are on same line...Actualy i am not interested to do query in some cycle.
What i am looking for is reactive solution.
when there is change in database,database should trigger event coming to web client via web socket, and web client
will update map... so yes -i had websockets(nodejs) on mind.
2. yes. agree.
3. database is changing only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment