code: public static int nvgraphGetGraphStructure(
          nvgraphHandle handle, 
          nvgraphGraphDescr descrG, 
          Object topologyData, 
          int[] TType)
      {
          return checkResult(nvgraphGetGraphStructureNative(handle, descrG, topologyData, TType));
      }
docs: Query size and topology information from the graph descriptor