0

visNetwork - highlightNearest - show only connected edges to a selected node

This is for highlighting nearest edges. Is there a way I can build a visnetwork graph (with an igraph object) that automatically highlights certain nodes? Such as the node with the highest degree.

CaitlynCodr
  • 167
  • 11
  • You can set the color to a conditional statement–so, yes. However, if you'd like a more enlightening answer, I encourage you to modify your question and make it reproducible. Include sample data, code you've tried, and a clear expectation of what you want to be colored differently. Check it out: [making R reproducible questions](https://stackoverflow.com/q/5963269). – Kat Mar 12 '22 at 00:46

0 Answers0