How to make the tooltip only display a few properties from label?

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

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": [
                        //"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.

1 Like

Thanks for helping me. It's work