Skip to content

Add support to hexagonal_lattice_graph for periodcity and position coordinates #803

@javabster

Description

@javabster

What is the expected enhancement?

networkx's hexagonal_lattice_graph function provides support for periodicity and setting position coordinates, and it would be great if rustworkx's hexagonal_lattice_graph did the same.

Definition of done:

  • a periodic bool argument added to hexagonal_lattice_graph
  • a with_positions bool argument added to hexagonal_lattice_graph

cc @mrossinek

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions