Any way to use Pyvis to return a cluster of nodes similar to one entered by user?

Assume a user enters “XYZ”, I want to return nodes similar to the user input. Is there any way to do this? Any help would be much appreciated,

thank you1

@adityashukla I am afraid I have no idea at all what you are trying to do from that description.

  • “Enters”? in a text box? In a multi-choice? Some other widget? As URL query args? As command line args?
  • “Return nodes”? Do you mean draw graph nodes? What about edges? Or draw something else? Or “return” means send data elsewhere?

Please describe what it is you want to accomplish in much, much more detail. (Links to existing comparable apps or systems, or screenshots, are probably very helpful).