code: public static int cuGraphGetNodes(CUgraph hGraph, CUgraphNode nodes[], long numNodes[]) 
      {
          return checkResult(cuGraphGetNodesNative(hGraph, nodes, numNodes));
      }
docs: Returns a graph's nodes.<br>
  <br>
  Returns a list of \p hGraph's nodes. \p nodes may be NULL, in which case this
  function will return the number of nodes in \p numNodes. Otherwise,
  \p numNodes entries will be filled in. If \p numNodes is higher than the actual
  number of nodes, the remaining entries in \p nodes will be set to NULL, and the
  number of nodes actually obtained will be returned in \p numNodes.
  
  @param hGraph   - Graph to query
  @param nodes    - Pointer to return the nodes
  @param numNodes - See description
  
  @return
  CUDA_SUCCESS,
  CUDA_ERROR_DEINITIALIZED,
  CUDA_ERROR_NOT_INITIALIZED,
  CUDA_ERROR_INVALID_VALUE
  
  @see
  JCudaDriver#cuGraphCreate
  JCudaDriver#cuGraphGetRootNodes
  JCudaDriver#cuGraphGetEdges
  JCudaDriver#cuGraphNodeGetType
  JCudaDriver#cuGraphNodeGetDependencies
  JCudaDriver#cuGraphNodeGetDependentNodes