code: public static int nvgraphExtractSubgraphByEdge(
          nvgraphHandle handle, 
          nvgraphGraphDescr descrG, 
          nvgraphGraphDescr subdescrG, 
          Pointer subedges, 
          long numedges)
      {
          return checkResult(nvgraphExtractSubgraphByEdgeNative(handle, descrG, subdescrG, subedges, numedges));
      }
docs: create a new graph by extracting a subgraph given a list of edges