Display a value of a relationship property as the label of the link. (NeoDash)

Hi,

is it possible to show a property value on a link instead of a relationship name?
from the documentation we can change the relationship (color, size, Arrowhead, etc..) but nothing about the label (like what we do for nodes)

Thank you

Only way I could find was through returning a virtual relationship:

match (from)-[r:ACTED_IN]->(to)
return from, to, apoc.create.vRelationship(from,r.roles[0],{rel_type:type(r)},to) as rel;

Sounds like a reasonable feature to have more accessible, I will ping the neodash folks.

image

Any updates on this, if the feature is available now? I tried creating the virtual relationship but it just created another relationship and it didn't show up in the neo4j Bloom visual.

Hi Suneet, unfortunately the virtual relationships are still the only way in NeoDash of accomplishing this. You're correct that the relationships don't show up in Bloom (as they are virtual and not saved in the database).

If you'd like to see this feature you can follow the issue on Github and add more details if you'd like:

Thank you,
Niels

1 Like