Skip to content

Commit ed3cb8f

Browse files
Add periodic to hexagonal_lattice_graph (#1213)
* use closure for `graph.add_edge` calls * Add periodicity * check input, adjust Python exception type * add Rust tests * Update type annotations, add Python tests * Test for isomorphism with networkx graphs * make tests insensitive to edge order * move construction of graph and nodes into a builder * move construction of edges into builder * add `hexagonal_lattice_graph_weighted`, update tests * add `with_positions` argument to Python functions * add visualization tests, fix lattice position bug --------- Co-authored-by: Ivan Carvalho <8753214+IvanIsCoding@users.noreply.github.com>
1 parent 4624a2e commit ed3cb8f

File tree

6 files changed

+704
-135
lines changed

6 files changed

+704
-135
lines changed

0 commit comments

Comments
 (0)