I have connected neo4j database at the backend.Now i am query the data from the frontend. i want that not all of the data get displayed but only a portion of it at random as data I query is quite large.
Use custom data function to filter the nodes links that you would like to display. Alternatively, supply limit parameter to the neo4j query.
I think you misunderstood me. I want that let's suppose got 500 nodes from the query but initially I want to just render 20 of those and let all the be hidden for the time being and get display them when displayed node is collapsed
So, what you can do is use nodeStyle + nodeFilter + linkStyle + linkFilter + multilinkProcessor to decide which links/nodes to hide/show depending on your filters and/or other params.
Please review this topic (it explains how you can filter/remove certain links): https://forum.zoomcharts.com/t/want-single-link-connection-even-there-are-multiple-links/2072/6
You can use them in different combinations to achieve the desired effect.