In[]:=
LatticeData["HexagonalLattice"]
Out[]=
In[]:=
Normal[%206]
Out[]=
{{-1,1},{0,-1}}
In[]:=
ListPlot[Catenate[Table[i{-1,1}+j{0,-1},{i,10},{j,10}]]]
Out[]=
-10
-8
-6
-4
-2
-10
-5
5
10
In[]:=
Get["https://raw.githubusercontent.com/szhorvat/IGraphM/master/IGInstaller.m"]
The currently installed versions of IGraph/M are: {PacletObject[IGraphM,0.3.108,<>]}
Installing IGraph/M is complete: PacletObject[IGraphM,0.3.112,<>].
It can now be loaded using the command Get["IGraphM`"].
An older version of IGraph/M was already loaded. It is recommended to restart the Mathematica kernel before loading the new version.
In[]:=
Get["IGraphM`"]
IGraph/M 0.3.112 (May 7, 2019)
Evaluate
IGDocumentation[]
to get started.