How can I expand this code, to include a different number of hexagonal layers? I need a graph of a hexagonal lattice given number m of layers. m=1 means 1 regular hexagon with side 1 and center at the origin, for m=2 add 6 regular hexagons around the initial one, for m=3 add the 3rd layer of hexagons, so on.
import networkx as nx
import matplotlib.pyplot as plt
G = nx.hexagonal_lattice_graph(m=2,n=3, periodic=False, with_positions=True,
create_using=None)
pos = nx.get_node_attributes(G, 'pos')
nx.draw(G, pos=pos, with_labels=True)
plt.show()

