The function that removes a selected variable from the graph. It is removed from the list of defined variables that are obtainable with variables(). The variables already placed in the graph won't be deleted, only in the defined variables list.

remove_variable(graph, variable)

Arguments

graph

a Graph() object

variable

a variable id or a variable object

Value

TRUE