g6r function

Create network data from board