# NeoVIS Problems with Captions - only "\_node" is shown

**URL:** <https://community.neo4j.com/t/neovis-problems-with-captions-only-node-is-shown/32981>\
**Category:** Neo4j Graph Platform\
**Tags:** neovis\
**Created:** [January 31, 2021, 9:33am UTC](https://community.neo4j.com/t/neovis-problems-with-captions-only-node-is-shown/32981 "2021-01-31T09:33:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rob2](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/rob2/32/14889_2.png) [@rob2](https://community.neo4j.com/u/rob2)\
**Post date:** [January 31, 2021, 9:33am UTC](https://community.neo4j.com/t/neovis-problems-with-captions-only-node-is-shown/32981/1 "2021-01-31T09:33:11Z")

</div>

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 ...

```auto
.... 
            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?

 ![grafik](https://us1.discourse-cdn.com/flex021/uploads/neo4jcommunity/original/3X/1/1/11c6a09f75bc70dd5d458809b8810d59e75447af.png)  
what do I do wrong? The Names of the nodes with label person are ok.  
Thanks for help?  
rob

---

<div class="post-metadata">

**Author:** ![michael.hunger](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/michael.hunger/32/27377_2.png) [@michael.hunger](https://community.neo4j.com/u/michael.hunger)\
**Post date:** [January 31, 2021, 11:40pm UTC](https://community.neo4j.com/t/neovis-problems-with-captions-only-node-is-shown/32981/2 "2021-01-31T23:40:31Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![rob2](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/rob2/32/14889_2.png) [@rob2](https://community.neo4j.com/u/rob2)\
**Post date:** [February 1, 2021, 6:44am UTC](https://community.neo4j.com/t/neovis-problems-with-captions-only-node-is-shown/32981/3 "2021-02-01T06:44:56Z")

</div>

I use

... src="[https://cdn.neo4jlabs.com/neovis.js/v1.6.0/neovis.js](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

---

<div class="post-metadata">

**Author:** ![rob2](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/rob2/32/14889_2.png) [@rob2](https://community.neo4j.com/u/rob2)\
**Post date:** [February 1, 2021, 12:50pm UTC](https://community.neo4j.com/t/neovis-problems-with-captions-only-node-is-shown/32981/4 "2021-02-01T12:50:29Z")

</div>

I opend this issue in github - looks like a bug (to me), because of 2 or more labels

> <https://github.com/neo4j-contrib/neovis.js/issues/154>
>
> HI 
> 
> i just started using neovis. My example is simple and I get data - But wi…th 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?
> 
> !\[grafik\](https://user-images.githubusercontent.com/16413104/106424623-ca632580-6462-11eb-8f3f-1c4990ddb0ac.png)
> 
> 
> what do I do wrong? The Names of the nodes with label person are ok. 
> Thanks for help?
> rob
> 
> PS 
> 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 ....

---

<div class="post-metadata">

**Author:** ![rob2](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/rob2/32/14889_2.png) [@rob2](https://community.neo4j.com/u/rob2)\
**Post date:** [February 1, 2021, 1:11pm UTC](https://community.neo4j.com/t/neovis-problems-with-captions-only-node-is-shown/32981/5 "2021-02-01T13:11:52Z")

</div>

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 ...

---

<div class="post-metadata">

**Author:** ![wolfgang.irler](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/wolfgang.irler/32/9818_2.png) [@wolfgang.irler](https://community.neo4j.com/u/wolfgang.irler)\
**Post date:** [September 16, 2021, 9:43am UTC](https://community.neo4j.com/t/neovis-problems-with-captions-only-node-is-shown/32981/6 "2021-09-16T09:43:03Z")

</div>

Hi there,  
if you are still interested in neovis visualisation, have a look to [my simplified neovis example](https://community.neo4j.com/t/neovis-simplified/44406)  
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
