View source: R/fct_graph_helpers.R
format_edge | R Documentation |
Takes in a row from a graph dataframe, returns that row formatted as R code
format_edge(edge_df)
edge_df |
One row from a gfpop::graph() graph df, with column names |
a string corresponding to the code that, when run, produces the given edge
graph <- gfpop::graph(type = "std") format_edge(graph[1,])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.