txgraffiti.example_data package
Module contents
- txgraffiti.example_data.load_example_graphs()[source]
Load all example graphs from the
graph-edgelistsresource folder.Each
.txtfile is a plain-text edge list (one edge per line). Graphs are returned asgraphcalc.SimpleGraphwith names taken from the filename (without extension).- Returns:
Mapping from graph name (str) to
graphcalc.SimpleGraph.- Return type:
dict