Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-30-2020 06:36 AM
When cursor pointed on nodes will showing tooltips with full data from labels. How can i choose what properties to show on this tooltips?
In this case, i just want to show "namaInstansi" and "email".
NB : use vis.js
Solved! Go to Solution.
08-03-2020 09:10 AM
Hello welcome to the community! I'm assuming here that you're talking about neovis.js? In which case take a look at the documentation here. You can change what parts of your labels are show in the config var:
var config = {
container_id: "viz",
server_url: "bolt://localhost:7687",
server_user: "neo4j",
server_password: "sorts-swims-burglaries",
labels: {
//"Character": "name",
"Character": {
"caption": "name",
"size": "pagerank",
"community": "community",
"title_properties": [
"name",
"pagerank"
],
//"sizeCypher": "MATCH (n) WHERE id(n) = {id} MATCH (n)-[r]-() RETURN sum(r.weight) AS c"
},
You'll see a few examples like this in the documentation. I hope this helps.
08-03-2020 09:10 AM
Hello welcome to the community! I'm assuming here that you're talking about neovis.js? In which case take a look at the documentation here. You can change what parts of your labels are show in the config var:
var config = {
container_id: "viz",
server_url: "bolt://localhost:7687",
server_user: "neo4j",
server_password: "sorts-swims-burglaries",
labels: {
//"Character": "name",
"Character": {
"caption": "name",
"size": "pagerank",
"community": "community",
"title_properties": [
"name",
"pagerank"
],
//"sizeCypher": "MATCH (n) WHERE id(n) = {id} MATCH (n)-[r]-() RETURN sum(r.weight) AS c"
},
You'll see a few examples like this in the documentation. I hope this helps.
08-03-2020 10:01 AM
Thanks for helping me. It's work
All the sessions of the conference are now available online