-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add lattice layouts for plotting #179
Comments
I think the way to do this is rather to have generators of lattice models that also output the positions of the nodes. Those positions can then be passed to any drawing function. I would close this an open another issue to suggest implementing lattice generators. |
You mean to attach the coordinates to each node as a node attribute? |
Exactly. For example networkx has a |
And once the lattice is generated, there's a special plotting function that looks at the node attributes? |
Networkx does not have one, as far as I know. So you need to manually collect all the positions, and pass them to the |
Alternatively, we could have a |
We have a recipe doing this for triangular lattices now. |
Closed as per the team meeting today. |
Add an easy way to plot grid, triangular, and other regular lattices with a natural layout.
The text was updated successfully, but these errors were encountered: