I have been wondering for a while whether this was possible in Neo4j. 
Are we likely to see this functionality in main stream Neo4j (requiring no 
mods) ?
Could this be extended to other 'objects' such as sound and video ?

Wayne


On Sunday, 28 May 2017 14:46:04 UTC+1, Michael Hunger wrote:
>
> Real cool, I wonder if we can add this to an updated variant of 
> https://github.com/jexp/spoon-neo4j 
>
> Michael 
>
> > Am 25.05.2017 um 03:11 schrieb Michael Moore <michaeld...@gmail.com 
> <javascript:>>: 
> > 
> > Here's a version of the init.coffee that works with the latest 3.2 
> browser version - 
> > 
> > provides a neo4j node with an image overlay 
> > 
> > goes here: 
> > 
> > 
> src/browser/modules/D3Visualization/lib/visualization/renders/init.coffee 
> > 
> > builds on Michael's patch, with some nice circle clipping formatting to 
> fit the image in the default large node size (80px). 
> > 
> > Selects a node property named image_url as in: 
> >  SET n.image_url ="http://my_node_image.png"; 
> > 
> > -Michael 
> > 
> > On Wednesday, December 28, 2016 at 2:56:38 AM UTC-8, Michael Hunger 
> wrote: 
> > 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 size in the code 
> > ```    image 
> > +      .attr("x", "-24px") 
> > +      .attr("y", "-24px") 
> > +      .attr("width", "48px") 
> > +      .attr("height", "48px") 
> > ``` 
> > so if you want 128px or 256px pictures or larger just adopt these 
> numbers 
> > 
> > 
> > On Wed, Dec 28, 2016 at 11:53 AM, Michael Hunger <
> michael...@neotechnology.com> wrote: 
> > 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 <kdwykl...@gmail.com> 
> wrote: 
> > 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 <
> ne...@googlegroups.com>: 
> > 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 <kdwykl...@gmail.com>: 
> > 
> >> 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 node in the browser _i.s.o. the 
> circle)  ,, where is it documented how to do that ? 
> >> 
> >> thanks koen 
> >> 
> >> -- 
> >> 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+un...@googlegroups.com. 
> >> For more options, visit https://groups.google.com/d/optout. 
> > 
> > -- 
> > You received this message because you are subscribed to a topic in the 
> Google Groups "Neo4j" group. 
> > To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/neo4j/jdHIM_OH8LE/unsubscribe. 
> > To unsubscribe from this group and all its topics, send an email to 
> neo4j+un...@googlegroups.com. 
> > For more options, visit https://groups.google.com/d/optout. 
> > 
> > 
> > 
> > -- 
> > Groeten / Best Regards, 
> > 
> > Koen 
> > 
> > -- 
> > 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+un...@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+un...@googlegroups.com <javascript:>. 
> > For more options, visit https://groups.google.com/d/optout. 
> > <node-image.png><init.coffee> 
>
>

-- 
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.

Reply via email to