title: Vis.js: Modify node properties on click
body: <p>I have an undirected graph in Vis.js and I would like to change the color and size of the adjacent nodes (scaling them according to values in a JS array) when a certain node is selected. How would I go about doing this? The documentation for vis.js network objects is unenlightening beyond <a href="http://visjs.org/examples/network/events/interactionEvents.html" rel="noreferrer">the source for this example</a>.</p>