How to store multiple line queries into a variable to draw a network
should I convert them into a one line ? and use %cypher ? isn't there other way to turn the whole cell into a python variable ?
** I started using cypher library instead - meaning loading the library and using
a = cypher.run(command)
It turn out the visualization doesn't work, mainly because the get_graph() method on (a) is empty ! while if I do it with as a = %cypher MATCH ... is the get_graph() is not empty. So the question is either 1) how I can store a big query (long, in multiple lines) into a variable to draw the network, or 2) what is wrong with the run command to not turn the graph.
I noticed in your tutorial https://nbviewer.jupyter.org/github/versae/ipython-cypher/blob/master/docs/examples.ipynb - you don't have an example where you store a multiple line into a variable and draw the network.