tests/testthat/_snaps/add_forward_reverse_edges.md

reverse edges can be added given a selection of edges

Code
  create_graph() %>% add_n_nodes(n = 2, type = "type_a", label = c("a_1", "a_2")) %>%
    add_edge(from = 1, to = 2, rel = "a") %>% add_reverse_edges_ws("b")
Condition
  Error in `add_reverse_edges_ws()`:
  ! The graph contains no selection of edges.


Try the DiagrammeR package in your browser

Any scripts or data that you put into this service are public.

DiagrammeR documentation built on June 22, 2024, 11:21 a.m.