Moves a vertex from oldagent to newagent.
Parameters
oldagent — Agent, required
The agent from which the edge should be removed. Will raise a
ValueErrorifagentis not one of the vertices.newagent — Agent, required
The agent to which the edge should be connected.
Notes and Examples