简体   繁体   中英

Network Vis.js node with description

I'm using vis.js to draw the graph (nodes + edges) and I want to add some description below each node (picture). Is it possible?

在此处输入图片说明

I have done this in this fiddle , you can use the title attribute. Click on node 1 to see it working.

{id: 1, label: 'Node 1', title: 'test'}

You can find more documentation about how to use the edges here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM