Re: [Neo4j] What's the Cypher equivalent to "find all nodes that have a property of name with value of X that don't have any ancestors with name = X"?

2016-12-28 Thread Max De Marzi Jr.
I think Tom almost had it...either: WITH 'A' as name MATCH p=((n:Root)-[:CHILD*]->(m {name:name})) WHERE SINGLE(n in nodes(p) WHERE n.name=name) RETURN m or maybe: WITH 'A' as name MATCH p=((n:Root)-[:CHILD*]->(m {name:name})) WHERE NONE(n i

Re: [Neo4j] Re: neo4j browser display nodes as images

2016-12-28 Thread Koen Kleingeld
ok thanks, will try 2016-12-28 11:56 GMT+01:00 'Michael Hunger' via Neo4j < neo4j@googlegroups.com>: > If you want to, you can patch github.com/neo4j/neo4j-browser > > With some code like the attached patch, which I did a while back. > > If you have an "image" property on a node it will render it

Re: [Neo4j] Re: Poor performance on relatively big db

2016-12-28 Thread 'Michael Hunger' via Neo4j
I would turn boolean properties, like international into a label. like this: MATCH (n1:`Club`)<-[r1:CLUB]-(n:International) WHERE n1.name='FC Barcelona' RETURN COUNT(*) AS `Count` Something seems to be off with your data too. As there are hardly 2.2M international players in FC Barcelona (and 2

Re: [Neo4j] Re: neo4j browser display nodes as images

2016-12-28 Thread 'Michael Hunger' via Neo4j
If you want to, you can patch github.com/neo4j/neo4j-browser With some code like the attached patch, which I did a while back. If you have an "image" property on a node it will render it as an svg image size would come from the "grass" config also the node-size = image size etc. you can set the

Re: [Neo4j] Re: neo4j browser display nodes as images

2016-12-28 Thread 'Michael Hunger' via Neo4j
It is only a fixed icon set. And the label-icon mapping is done in the grass aka :style config. There is no custom images / icons and none derived from properties unfortunately. Michael On Wed, Dec 28, 2016 at 11:34 AM, Koen Kleingeld wrote: > switched on .. so how do i link images to labels t

Re: [Neo4j] Re: neo4j browser display nodes as images

2016-12-28 Thread Koen Kleingeld
switched on .. so how do i link images to labels types .. where to store images / icons .. is this already for 3.1 or for a beta of 3.2 2016-12-28 11:24 GMT+01:00 'Michael Hunger' via Neo4j < neo4j@googlegroups.com>: > There is an experimental feature setting in the configuration sidebar. If > yo

Re: [Neo4j] Re: neo4j browser display nodes as images

2016-12-28 Thread 'Michael Hunger' via Neo4j
There is an experimental feature setting in the configuration sidebar. If you check that you have the icons. Von meinem iPhone gesendet > Am 28.12.2016 um 09:42 schrieb koen : > > hi, any ideas here ? would like to use that functionality too.. adds great > value when displaying the graph im

[Neo4j] Re: stream property to gephi

2016-12-28 Thread koen
Hi, any input here ? streaming properties to gephi would be very handy imho thanks reg koen Op donderdag 22 december 2016 15:34:36 UTC+1 schreef koen: > > Hi, i am using neo4j combined with gephi for visualization. This works ok > but i cannot manage to stream node properties to gephi (only some

[Neo4j] Re: neo4j browser display nodes as images

2016-12-28 Thread koen
hi, any ideas here ? would like to use that functionality too.. adds great value when displaying the graph imho reg koen Op maandag 26 december 2016 15:50:34 UTC+1 schreef koen: > > Hi, i a recent post of Rik i saw that starting with neo4j 3.1 you can > display a picture / icon representing a n