-
Notifications
You must be signed in to change notification settings - Fork 329
Open
Description
Expected Behavior (Mandatory)
When I have a config file with this:
MY_CONNECTION: {
label: 'MY_CONNECTION',
value: 'weight',
[NeoVis.NEOVIS_ADVANCED_CONFIG]: {
function: {
title: NeoVis.objectToTitleHtml
},
static: {
color: '#8DCC93'
}
}
},
I expect to see a label on the relationship and to see a title when I hover over it.
Actual Behavior (Mandatory)
Neither title or label shows up. I have tried this:
MY_CONNECTION: {
label: 'MY_CONNECTION',
[NeoVis.NEOVIS_ADVANCED_CONFIG]: {
function: {
title: function (edge) {
console.log(edge);
},
}
}
},
And it logs edge to be undefined. When I try the same with a node title it returns information about the node.
How to Reproduce the Problem
Set a label or a title on a relationship and check if it shows up.
Specifications (Mandatory)
I am using neovis.js version 2.10 and I am using datafunctions to connect to an api. The relationships are drawn, they are just not labelled.
Currently used versions
Versions
- OS: The api that is called by the datafunctions have been tested both on Linux and Mac
- Library: 2.10
- Neo4j: 5.14 but neovis does not connect directly to the database.
Metadata
Metadata
Assignees
Labels
No labels