Skip to content

Store lattice positions as node attributes #623

@nwlandry

Description

@nwlandry

Related to #179.

When generating triangular lattices, it should be possible to store the lattice positions as attributes for ease of plotting. This should be an optional argument in the lattice generator functions such as ring_lattice.

xgi.ring_lattice(n, d, k, l, store_pos=True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    improveMake an existing feature better

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions