Create compatible data structure for g6_add_data(), g6_set_data() or
simply g6().
Usage
g6_data(nodes = NULL, edges = NULL, combos = NULL)
as_g6_data(x, ...)
# S3 method for class 'g6_data'
as_g6_data(x, ...)
# S3 method for class 'list'
as_g6_data(x, ...)