Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-31-2021 01:33 AM
HI
i just started using neovis. My example is simple and I get data - But with 2 labels I have "captions" problems . after draw the caption is "_node"
Her is my code - the rest is the simple example from the github repo ...
....
var config = {
container_id: "viz",
server_url: "bolt://edums.bpmspace.net:7687",
server_user: "neo4j",
server_password: "PASSWD",
labels: {
"topic": {
"caption": "name"
} ,
"course": {
"caption": "short_name"
} ,
"person": {
"caption": "name"
}
},
relationships: {
"allowed_to_teach": {
"caption": false
}
},
initial_cypher: "MATCH (per:person)-[r1:allowed_to_teach]->(cou:course)<-[r2:hasCourse]-(to:topic) RETURN * "
};
...
And here is a screenshot?
Solved! Go to Solution.
02-01-2021 04:50 AM
I opend this issue in github - looks like a bug (to me), because of 2 or more labels
01-31-2021 03:40 PM
Not seen that before. Anything in your JS console?
In the past it always worked fine for me. Are you using the latest version?
Perhaps also raise a GH issue on the repository.
01-31-2021 10:44 PM
I use
... src="https://cdn.neo4jlabs.com/neovis.js/v1.6.0/neovis.js"> ....
also tried it with 1.5.0 and 1.4.0 .. same error
there was an encoding error when i copied the example form the github. but with <meta charset="utf-8"/>
the error was solved ....
so I have no idea ...
thanks anyway ... i will open a GH in the repo ... rob
02-01-2021 04:50 AM
I opend this issue in github - looks like a bug (to me), because of 2 or more labels
02-01-2021 05:11 AM
Short version : multilabel is not supportet at the moment ... it must be the FIRST label! I have a workarround so it is fine for me ...
09-16-2021 02:43 AM
Hi there,
if you are still interested in neovis visualisation, have a look to my simplified neovis example
You can easily adapt the code to your problem or db. The idea is to use only the core of neovis, ako connector, and delegate the interface to visjs after the rendering. Please observe the circumvention of the neo4j-s vs. trust: standard neovis is not compatible with newer neo4-s schema and its 'use strict'
WJI
All the sessions of the conference are now available online