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 <
[email protected]> 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 <[email protected]>
> 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 <
>> [email protected]>:
>>
>>> 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 <[email protected]>:
>>>
>>> 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 [email protected].
>>> 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/to
>>> pic/neo4j/jdHIM_OH8LE/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> 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 [email protected].
>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: icon.patch
Description: Binary data

Reply via email to