Note that you don't need any secret internal functions to get the layer association or the edge list for the NetGraph
. This will return the association of layers:
NetExtract[ngt2, All]
And this will return the connectivity information:
EdgeList[ngt2]