Reselects a node (clearing a previous selection, if exists) or deselects all nodes, depending on value of id.

visToggleNodes(graph, id)

Arguments

graph

[visNetwork_Proxy(1)]
Proxy of a graph to update.

id

[character(0) | character(1)]
Node ID to verify.

Value

The same proxy as in graph parameter, but updated.