Re: [Neo4j] Issues creating a gist (//graph keeps displaying results of first query)

2014-03-25 Thread Craig Taverner
You are not changing the database in any queries, so the //graph command
will always show the same thing. The description at
http://gist.neo4j.org/?5956246 says The visualization is based on the
*database
contents* after the preceding query in the page. It is not based on the
query results, but the database contents.

I would personally love to see more layout and filtering control of the
//graph command, so we could show subgraphs and control the layout. I doubt
you are the first person to be limited by this.


On Tue, Mar 25, 2014 at 10:58 AM, Tom Zeppenfeldt
tomzeppenfe...@gmail.comwrote:

 I have created a gist at http://gist.neo4j.org/?9758285  but the //graph
  tag doesn't seem to display the graph corresponding to the last query.
 //table  seems to work fine.
 What am I doing wrong  ?


  --
 You received this message because you are subscribed to the Google Groups
 Neo4j group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to neo4j+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Neo4j group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Neo4j] Issues creating a gist (//graph keeps displaying results of first query)

2014-03-25 Thread Tom Zeppenfeldt


 Thanks for pointing it out. Should have read it more carefully. Indeed too 
 bad that filtering doesn't apply to  graphs. 



Besides, when running a cypher in the console  I included in the gist , 
like  

match (n) return id(n)

it returns 0 rows, which is weird too.

 

-- 
You received this message because you are subscribed to the Google Groups 
Neo4j group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Neo4j] Issues creating a gist (//graph keeps displaying results of first query)

2014-03-25 Thread Craig Taverner
I don't think you used the //setup to setup the console, did you? You
should have that just before the source block that creates the graph. Check
the instructions at http://gist.neo4j.org/?5956246


On Tue, Mar 25, 2014 at 12:36 PM, Tom Zeppenfeldt
tomzeppenfe...@gmail.comwrote:

 Thanks for pointing it out. Should have read it more carefully. Indeed too
 bad that filtering doesn't apply to  graphs.



 Besides, when running a cypher in the console  I included in the gist ,
 like

 match (n) return id(n)

 it returns 0 rows, which is weird too.



 --
 You received this message because you are subscribed to the Google Groups
 Neo4j group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to neo4j+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Neo4j group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Neo4j] Issues creating a gist (//graph keeps displaying results of first query)

2014-03-25 Thread Michael Hunger
Tom,

we want to extend the visualization abilities of GraphGists in a number of
ways, we just haven't gotten around to work on it :)

For the time being, you probably want to return only a //graph at the
beginning and use //table otherwise. But make sure to return sensible data,
e.g. full nodes or rels or relevant properties, not id(n)

Actually the //graph viz should highlight returned nodes and rels, I have
to check why it doesn't.




On Tue, Mar 25, 2014 at 5:38 PM, Craig Taverner cr...@amanzi.com wrote:

 I don't think you used the //setup to setup the console, did you? You
 should have that just before the source block that creates the graph. Check
 the instructions at http://gist.neo4j.org/?5956246


 On Tue, Mar 25, 2014 at 12:36 PM, Tom Zeppenfeldt 
 tomzeppenfe...@gmail.com wrote:

 Thanks for pointing it out. Should have read it more carefully. Indeed
 too bad that filtering doesn't apply to  graphs.



 Besides, when running a cypher in the console  I included in the gist ,
 like

 match (n) return id(n)

 it returns 0 rows, which is weird too.



 --
 You received this message because you are subscribed to the Google Groups
 Neo4j group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to neo4j+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  --
 You received this message because you are subscribed to the Google Groups
 Neo4j group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to neo4j+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Neo4j group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Neo4j] Issues creating a gist (//graph keeps displaying results of first query)

2014-03-25 Thread Tom Zeppenfeldt


 Thanks for the feedback and looking forward to //graph returning 
 highlighted results.   .. And to further improving my own gisting skills 
 (this was my first) 


-- 
You received this message because you are subscribed to the Google Groups 
Neo4j group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.