Modify graph from a single command line
Arguments
- igraphObj
object that inherit igraph
- visNetwork_graphChange
a single list of command as a result of visnetwork_graphChange, explained in their package This list should always has following element: - *addNode* - *addEdge* - *editEdge* - *deleteElements* If you ever need side effect, it is possible to add in your function every time you make some change, add a new attribute to node are edge. (for example a time stamp) so you can trick what has been changed and what has not.
- sideEffect
this namespace is meant to be written down as a function to trigger side effect different cmd type
- hard_delete
if set to false element will not be deleted but added an attribute `.deleted_at` instead.