Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce cartesian_graph(...) #42

Open
mtfishman opened this issue Dec 8, 2023 · 0 comments
Open

Introduce cartesian_graph(...) #42

mtfishman opened this issue Dec 8, 2023 · 0 comments

Comments

@mtfishman
Copy link
Member

mtfishman commented Dec 8, 2023

Introduce cartesian_graph(dims...) for making a NamedGraph with cartesian vertex names, i.e.:

cartesian_graph(2, 2)

would have vertices [(1, 1), (1, 2), (2, 1), (2, 2)].

Additionally,

cartesian_graph(grid((2, 2)), (2, 2))

to wrap a SimpleGraph in a NamedGraph with cartesian vertices.

@mtfishman mtfishman changed the title Introduce cartesian_graph Introduce cartesian_graph(...) Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant