code: void build(int nodeOffset, GraphMeshData graphData, List<int[]> connections) {
  		for (int n = 0; n < connections.size(); n++) {
  			int[] nodeConnections = connections.get(n);
  			MeshData tile = graphData.getTile(n);
  			Poly node = graphData.getNode(n);
  			for (int connection : nodeConnections) {
  				MeshData neighbourTile = graphData.getTile(connection - nodeOffset);
  				if (neighbourTile != tile) {
  					buildExternalLink(tile, node, neighbourTile);
  				} else {
  					Poly neighbour = graphData.getNode(connection - nodeOffset);
  					buildInternalLink(tile, node, neighbourTile, neighbour);
  				}
  			}
  		}
  	}
docs: Process connections and transform them into recast neighbour flags