Create network objects from 'graph6', 'sparse6', or 'digraph6' symbols
Create network objects from 'graph6', 'sparse6', or 'digraph6' symbols
network_from_text(object)
Arguments
object: character vector of 'graph6', 'sparse6', or 'digraph6' symbols
Returns
A list of 'network' objects.
Examples
# complete graph in graph6 formatg6 <-"G~~~~{"# random graph with 15 nodess6 <-":NeF?bsl?aNC"# random directed graph with 10 nodesd6 <-"&I???GGGI?_gG??O???"network_from_text(g6)network_from_text(c(g6,s6,d6))