Remove from/to pairs from the connections of a variable. Matching is
exact and order-sensitive: remove_connections(data, "a", "b") removes
the pair (from = "a", to = "b") but does not remove (from = "b", to = "a"). Call twice with swapped arguments if you want both directions
gone.
Examples
if (FALSE) { # \dontrun{
data <- example_aniframe() |>
add_connections(from = c("head", "neck"), to = c("neck", "shoulder_right"))
data <- remove_connections(data, from = "head", to = "neck")
} # }