Python functions to compute various classes of networkx graphs
Project description
graph-generators
Python functions to compute various classes of networkx
graphs
Requirements
Requires python >= 3.5
and networkx
.
Installation
pip install graph-generators
Usage
After installation, run from graph_generators import *
For instance, keller_graph(n)
returns an n-dimensional Keller graph.
List of graphs
Graph name | Function name |
---|---|
Keller graph | keller_graph |
King graph | king_graph |
Knight graph | knight_graph |
Antelope graph | antelope_graph |
Zebra graph | zebra_graph |
Giraffe graph | giraffe_graph |
Camel graph | camel_graph |
(a,b)-leaper graph | leaper_graph |
Fiveleaper graph | fiveleaper_graph |
Prism graph | prism_graph |
Stacked prism graph | stacked_prism_graph |
Moebius ladder graph | mobius_ladder_graph |
Book graph | book_graph |
Stacked book graph | stacked_book_graph |
Odd graph | odd_graph |
Fibonacci cube graph | fibonacci_cube_graph |
Lucas cube graph | lucas_cube_graph |
Halved cube graph | halved_cube_graph |
Folded cube graph | folded_cube_graph |
Johnson graph | johnson_graph |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
graph-generators-0.1.6.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for graph_generators-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3b161137e885061401a41bf01fbd831bdb58ef3acce61a74230b2aa9943e774 |
|
MD5 | fe84b1c3e42a4ae3e154ceae39b73c87 |
|
BLAKE2b-256 | 0b482023079f766d44814154bab402bed4239e27d8610a60af6883b1d528f4fa |