Closed suchetaswabhav closed 5 years ago
I think you're looking for groups. Maybe you can assign the group name to the nodes once the data from Neo4j has been fetched...anyway, check out the docs.
This issue tracker is not supposed to be used for questions on how to use visjs. It is intended to be used for bug reports and feature requests! In case you face yourself with a usage question, then post your question e.g. on stackoverflow tagged with "vis.js".
I am working with Neo4j application. And it creates nodal graph. To display the nodal graph on UI , we have Neovis.js. Neovis.js name taken from vis.js. The output that i get is -
Here in the picture, all the nodes have a different color. We have relationships like Department, Function, System, Parameter,etc. I want a uniform color for all the nodes with relationship - Parameter and all the nodes with relationship - Department, etc. As in this pic -
Please suggest changes in the following codes. It will be very useful.
code -
visjs in Neovis.js
front-end Neovis.js to display nodes