To upgrade from the deprecated igraph_lattice() to the new igraph_square_lattice(), the R interface needs to adapt.
Right now make_lattice has a circular parameter that accepts a single logical. To match the capabilities of igraph_square_lattice(), there should be a parameter that accepts either a single logical, or a vector of logicals, one for each dimension.
It might be good to eventually rename circular to periodic, and to rename make_lattice to make_square_lattice to make room for other types of lattice generators (igraph_triangular_lattice, igraph_hexagonal_lattice, which should also be exposed).
Tasks
To upgrade from the deprecated
igraph_lattice()to the newigraph_square_lattice(), the R interface needs to adapt.Right now
make_latticehas acircularparameter that accepts a single logical. To match the capabilities ofigraph_square_lattice(), there should be a parameter that accepts either a single logical, or a vector of logicals, one for each dimension.It might be good to eventually rename
circulartoperiodic, and to renamemake_latticetomake_square_latticeto make room for other types of lattice generators (igraph_triangular_lattice,igraph_hexagonal_lattice, which should also be exposed).Tasks
periodicparameter, feat: remove deprecated functions before 1.0 #1352make_square_lattice()