neo4j-contrib / neovis.js

Neo4j + vis.js = neovis.js. Graph visualizations in the browser with data from Neo4j.
Apache License 2.0
1.59k stars 324 forks source link

Add label to all the relationship by default #381

Closed pviral closed 4 months ago

pviral commented 7 months ago

Hi,

I want to show labels for all the edges in the node. However, it seems like the library only shows labels when mentioned under the relationship object in the config. Is there a configuration where I can show all the relationship label?

relationship: {
   <RELATIONSHIP_NAME>: {}
}

Expected Behavior (Mandatory)

Screenshot from neo4j desktop

Screenshot 2024-01-31 at 3 30 20 PM

Actual Behavior (Mandatory)

Notice that the relationship label is missing

Screenshot 2024-01-31 at 3 31 13 PM

How to Reproduce the Problem

Get the latest sample example from the directory and do

Simple Example

Took the example from README.md

Specifications (Mandatory)

Currently used versions

Versions

ptrjeffrey commented 4 months ago

I have the same issue too.BTW, the arrows are hidden as well

ptrjeffrey commented 4 months ago

Hi Guy,I found the answer there

353 and #369

Finally, I fixed all the issues.The result of my test project likes below

无标题

I think you can close the issue