tests/testthat/_snaps/set_get_node_edge_attrs.md

Getting edge attributes is possible

Code
  get_edge_attrs(graph = graph, edge_attr = from)
Condition
  Error in `get_edge_attrs()`:
  ! This is not an edge attribute.
Code
  get_edge_attrs(graph = graph, edge_attr = to)
Condition
  Error in `get_edge_attrs()`:
  ! This is not an edge attribute.
Code
  get_edge_attrs(graph = graph, edge_attr = value, from = c(1, 2), to = 2)
Condition
  Error in `get_edge_attrs()`:
  ! The number of nodes in `from` and `to` must be the same.


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.